Skip to main content
Returns the token balance of an SPL Token account.

On ThorNode

Answered by FastGate through the ThorEdge RPC URL; no separate endpoint or key. commitment and minContextSlot are accepted and ignored: the response reflects FastGate’s indexed slot, reported as context.slot (no apiVersion). The request times out after 30 s. A non-token account returns -32602 Invalid param: not a Token account; a missing account returns -32602 Invalid param: could not find account.

Parameters

string
required
Solana SPL token account address to query for balance information, as a base-58 encoded string.
string
The commitment level for the request. Accepted and ignored by FastGate.
  • confirmed
  • finalized
  • processed

Response

object
Context of the response.
object
Token account balance details.