Accounts

Retrieve account details

get

Retrieve information about an account or a contract identified by its address.

To access historical details, you can specify a revision as a query parameter.

Path parameters
addressstring · hexRequired

The address of the account/ contract

Example: 0x0000000000000000000000000000456E65726779Pattern: ^(0x)?[0-9a-fA-F]{40}$
Query parameters
revisionstringOptional

Specify either best, a block number or block ID. If omitted, the best block is assumed.

Responses
200
OK
application/json
get
GET /accounts/{address} HTTP/1.1
Host: vet.nownodes.io
Accept: */*
{
  "balance": "0x47ff1f90327aa0f8e",
  "energy": "0xcf624158d591398",
  "hasCode": false
}