string
object
curl https://rpc.testnet.soo.network/rpc \ -X POST \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "getTokenAccountBalance", "params": [ "5ThJTCxpdn54bk3gBAWKZS4K9ogHEX56WooYbXQDnm3Q", { "commitment": "finalized" } ] }'
{ "jsonrpc": "2.0", "result": { "context": { "slot": 369624 }, "value": { "amount": "1000000", "decimals": 6, "uiAmount": 1.0, "uiAmountString": "1.0" } }, "id": 1 }
value
amount: <string>
decimals: <u8>
uiAmount: <number|null>
uiAmountString: <string>