0.01 credits per call
getAccountInfo on Solana: Returns all information associated with an account.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
address | string | yes | Base-58 encoded account address (pubkey). | "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg" |
config | object | no | {commitment?, encoding?, dataSlice?: {offset, length}, minContextSlot?}. encoding is one of base58, base64, base64+zstd, jsonParsed. | {"encoding":"jsonParsed","commitment":"finalized"} |
Returns
object | null: {context, value: {lamports, owner, data, executable, rentEpoch, space} | null}. value is null if the account does not exist.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.