Alchemy Logo

getBalance

POST
/{apiKey}

Returns the lamport balance of the account of the provided Pubkey.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

Pubkey of the account to query.

objectoptional

Optional configuration object containing additional settings.

Responses

200

Returns the balance in lamports of the account queried.

The balance in lamports of the account.

Was this page helpful?