Skip to main content
Returns the lamport balance of the account of provided Pubkey.

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. An account that does not exist returns value: 0, not null.

Parameters

string
required
The Pubkey of the account to query (base-58 encoded string).
string
The commitment level for the request. Accepted and ignored by FastGate.
  • processed
  • confirmed
  • finalized
number
The minimum slot at which the request can be evaluated. Accepted and ignored by FastGate.

Response

object
integer
The account balance in lamports.