eth_getAccount

Returns the account info of the node by address and block number or block hash.

Parameters

  • address: (string) REQUIRED, The account address for which the information is to be retrieved
  • blockReference: (string) REQUIRED,The block number in either hexadecimal or integer format, or utilize tags for convenience. Available tags include 'latest' for the latest mined block, 'pending' for the pending state/transactions, and 'safe' or 'finalized' to indicate different degrees of block confirmation.

Returns

  • codeHash: (string) A 32 byte hash of the code of the account
  • storageRoot: (string) The hash of the account's storage data
  • balance: (string) The current balance of the account in wei
  • nonce: (string) The transaction count of an account
Language
Authorization
Header
Click Try It! to start a request and see the response here!