Retrieve Token Balances for Given Public Key
Last updated 3 years ago
Was this helpful?
Before calling the function make sure you have the Connector object initialized.
Field
Type
Description
PubKey
string
string
Base58 Publickey
TokenBalancesGet("Input here Base58 PublicKey");
Return value of function: TokenBalancesResult
Connector connect_ = new Connector("95.111.224.219", 9091); NodeApi.TokenBalancesResult TokenBalances = connect_.TokenBalancesGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct"); Console.WriteLine(TokenBalances);
Connect_ = Connector("165.22.212.253:9090") print(Connect_.TokenBalancesGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct"))
var connect_ = new Connector("194.163.152.177", 9091); connect_.TokenBalancesGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct").then((res) => {connect_.Close();console.log(res); });
Output is printed via ObjectDumper
{TokenBalancesResult} Status: {APIResponse} Code: 0 Message: "Success: " Balances: ...