Program Operations
resource: program — raw account state owned by any on-chain program. No credential required.
readAccountState
Reads the raw bytes and metadata of any account, regardless of which program owns it.
| Field | Type | Required | Description |
|---|---|---|---|
address | text | ✓ Yes | Base58 address of the account to read. |
cluster | select | No | See Clusters. |
Example response:
{
"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"lamports": 2039280,
"dataBase64": "AQAAAA...==",
"executable": false
}
| Response Field | Meaning |
|---|---|
owner | The program ID that owns this account and defines how to interpret dataBase64. |
lamports | The account's rent balance. |
dataBase64 | The account's raw byte content, base64-encoded. Interpreting it requires knowing the owning program's data layout (an Anchor IDL, an SPL Token account struct, a custom program's own binary format, etc.) — this operation does no decoding of its own. |
executable | Whether this account holds loaded program bytecode rather than plain state. |
No Anchor IDL decoding: This operation returns raw bytes only — it does not fetch or
apply an Anchor IDL to decode named fields. If the target account belongs to an Anchor program and
you have its IDL, decode
dataBase64 downstream (e.g. in a Transform/Code step) using the
known account discriminator and field layout.
Relationship to other resources: account/getInfo
returns the same shape of raw account data for the general case; this operation exists as a
program-focused alias emphasizing the "inspect state owned by any program" use case — e.g. reading a
custom program's PDA (Program Derived Address) account.