Storage

Retrieve the value for a storage position

get

This endpoint allows you to retrieve the value stored at a specific storage position ({key}) of a Vechain smart contract associated with the provided address ({address}). The response will contain information about the stored value for the given key.

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

Path parameters
addressstring · hexRequired

The address of the account/ contract

Example: 0x93Ae8aab337E58A6978E166f8132F59652cA6C56Pattern: ^(0x)?[0-9a-fA-F]{40}$
keystringRequired

The unique identifier (key) representing the specific position in the account storage. This key is used to access and retrieve data stored at a particular storage position.

Example: 0x0000000000000000000000000000000000000000000000000000000000000001Pattern: ^(0x)?[0-9a-fA-F]{64}$
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}/storage/{key} HTTP/1.1
Host: vet.nownodes.io
Accept: */*
{
  "value": "0x0000000000000000000000000000000000000000000000000000000000000001"
}