Skip to main content
Returns all SPL Token accounts by token owner.

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. Encodings: base64 (default), base58, base64+zstd, jsonParsed (token accounts and mints; other accounts fall back to base64). The options parameter must be an object; dataSlice is ignored with jsonParsed. The second parameter ({ "mint" } or { "programId" }) is required and must contain exactly one key. For very large owners use getTokenAccountsByOwnerV2.

Parameters

string
required
Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.
string
Specific Solana token mint address to retrieve only accounts for a particular token or NFT.
string
Specific Solana token program ID (typically SPL Token program) that created the token accounts.
string
The commitment level for the request. Accepted and ignored by FastGate.
  • confirmed
  • finalized
  • processed
number
The minimum slot that the request can be evaluated at. Accepted and ignored by FastGate.
object
Request a slice of the account’s data.
number
Number of bytes to return.
number
Byte offset from which to start reading.
string
Encoding format for Account data.
  • base58
  • base64
  • base64+zstd
  • jsonParsed

Response

object
Context of the response.
array
List of token accounts.