Skip to main content

Get the Merkle inclusion proof for an account and its storage keys.

GET 

/:network/contract/merkle-proof

Get the Merkle inclusion proof for an account and its storage keys.

Request

Path Parameters

    network stringrequired

Query Parameters

    block_height number

    Optional block number for which the balance is requested. Provide only block height or timestamp you want to check for.

    date string

    Optional Date timestamp for which the balance is requested (ISO 8601 format). Provide only block height or timestamp you want to check for.

    contract_address stringrequired

    Address of the contract

    storage_keys string[]required

    An array of storage-keys that should be proofed and included.

Responses

Merkle inclusion proof fetched successfully.

Schema

    network stringrequired

    Name of the blockchain network

    chain_id numberrequired

    Chain ID of the blockchain network

    address stringrequired

    The address associated with the account.

    accountProof string[]required

    An array of RLP-serialized MerkleTree-Nodes for the account proof.

    balance stringrequired

    The current balance of the account in wei.

    codeHash stringrequired

    A 32-byte hash of the code of the account.

    nonce stringrequired

    The nonce of the account.

    storageHash stringrequired

    A 32-byte SHA3 hash of the storage root.

    storageProof

    object[]

    required

    An array of storage proofs for the requested keys.

  • Array [

  • key stringrequired

    The requested storage key.

    value stringrequired

    The storage value at the specified key.

    proof string[]required

    An array of RLP-serialized MerkleTree-Nodes for the storage proof.

  • ]

Loading...