Portal Community

readAccountState

Reads the raw bytes and metadata of any account, regardless of which program owns it.

FieldTypeRequiredDescription
addresstext✓ YesBase58 address of the account to read.
clusterselectNoSee Clusters.

Example response:

{
  "owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
  "lamports": 2039280,
  "dataBase64": "AQAAAA...==",
  "executable": false
}
Response FieldMeaning
ownerThe program ID that owns this account and defines how to interpret dataBase64.
lamportsThe account's rent balance.
dataBase64The 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.
executableWhether 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.