Account Subquery

For querying data about an Account

Description

Account Subqueries provide information about an Ethereum address.

Limits

Maximum of 32 (Account + Storage + Nested Mapping) subqueries per Query.

Builder

buildAccountSubquery(blockNum)

Examples

const accountSubquery: AccountSubquery = buildAccountSubquery(9000000)
    .address("0x4C5252bE8474664e14c9C122C295AB4e06D37cF0")
    .field(AccountField.Balance);
const accountSubquery: AccountSubquery = buildAccountSubquery(9000000)
    .address("0x4C5252bE8474664e14c9C122C295AB4e06D37cF0")
    .field(AccountField.Nonce);
const accountSubquery: AccountSubquery = buildAccountSubquery(9000000)
    .address("0x4C5252bE8474664e14c9C122C295AB4e06D37cF0")
    .field(AccountField.CodeHash);

Last updated