Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V23 Updates #11

Open
4 tasks
dev-ptera opened this issue May 19, 2022 · 0 comments
Open
4 tasks

V23 Updates #11

dev-ptera opened this issue May 19, 2022 · 0 comments

Comments

@dev-ptera
Copy link
Owner

  • Deprecate Pending RPC Commands
  • Add Receivable RPC Commands
  • Add new Delegators options
  • Iterate through existing RPC commands, check new options.

The following snippet should support threshold option.

export const delegatorsRpc = async (address, threshold: number): Promise<DelegatorsResponse> =>
    NANO_CLIENT.delegators(address)
        .then((delegators: DelegatorsResponse) => Promise.resolve(delegators))
        .catch((err) => Promise.reject(err));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant