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

Please add batch.GetTokenAccountBalance #424

Open
JavinYang opened this issue Nov 26, 2022 · 0 comments
Open

Please add batch.GetTokenAccountBalance #424

JavinYang opened this issue Nov 26, 2022 · 0 comments

Comments

@JavinYang
Copy link

JavinYang commented Nov 26, 2022

GetTokenAccountBalance is available in the rpc client but not in the batch. I urgently need this function.

        public void GetTokenAccountBalance(string pubKey, Commitment commitment = Commitment.Finalized,
                               Action<ResponseValue<TokenBalance>, Exception> callback = null)
        {
            var parameters = Parameters.Create(pubKey, ConfigObject.Create(HandleCommitment(commitment)));
            _composer.AddRequest("getTokenAccountBalance", parameters, callback);
        }
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