Skip to main content

Parameters

chainId
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getTokenAccountBalance"
required
JSON-RPC method name.
params
object
default:["7fUAJdStEuGbc3sM84cKRL6yYaaSstyLSU4ve5oovLS7"]
required
Parameters for method getTokenAccountBalance: [tokenAccountAddress, config]Positional parameters for getTokenAccountBalance:
  • params[0]: Pubkey of the Token account to query (base-58 encoded string).
  • params[1]: Optional configuration object.

Returns

result
object
Token balance information for the given Token account.