GetTokenBalance()

Summary

RouteTypeExample
/monitor/gettokenbalancePOSThttp://apinode.credits.com/api/monitor/gettokenbalance

Description

Gets the token balance of a wallet.

Request

Request Structure

JSON
Copy

Request Parameters

string: PublicKey - Wallet address (public key) in Base58

string: tokens - List of tokens separated by a comma (“aaa, bbb, ddd”). If not specified, a list of all stored tokens will be displayed

Response

JSON output depends on the request type and its success.

If there’s an error, request returns to the node basic Result:

  • Success: False
  • Message:

If successful, requested information is returned.

Response Structure

JSON
Copy

Example Code

Python
C#
C++
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard