Accounts
Every address on XYZ Chain has an associated account that tracks its sequence number (nonce), public key, and account number. These are needed for signing transactions.Get Account
Retrieve account details for an address.Response
Response
Key Fields
pub_key is null for accounts that have received tokens but never sent a transaction. The public key is recorded on-chain with the first outgoing transaction.Using Account Info for Signing
When building a transaction, you needaccount_number and sequence from this endpoint:
sequence is stale (another transaction was confirmed since your query), the transaction will fail with code: 32 (account sequence mismatch). Re-query and retry.
List All Accounts
Returns all accounts on the chain. Paginated.Account Types
Module accounts are system-owned and cannot be controlled by external keys. They appear in queries for the bridge module, fee pool, and other on-chain mechanisms.