Parameters
- addressstringREQUIRED
The address of the account being queried
- BlockNumberOrHashOrTagstringREQUIRED
The block number in integer, block hash or block tag(earliest and latest)
Returns
- resultobject | null
The account information, or null if the account does not exist
- accTypeinteger
Indicates the type of the account
- accountobject
The account object which contains the following fields:
- nonceinteger
The number of transactions sent from this account
- balancestring
The balance of the account, represented in hexadecimal format
- humanReadableboolean
A boolean indicating whether the account address is in a human-readable format
- keyobject
The key object which contains the following fields:
- keyTypeinteger
Indicates the type of key
- keyobject
An object containing the key data
- storageRootstring
The root hash of the account's storage trie
- codeHashstring
The hash of the account's smart contract code, if any
- codeFormatinteger
Indicates the format of the account's code
- vmVersioninteger
The version of the virtual machine used to execute the account's code