Skip to main content

getProof

Callable

  • getProof<ReturnFormat>(web3Context: Web3Context<Web3EthExecutionAPI, any>, address: string, storageKeys: Bytes[], blockNumber?: BlockNumberOrTag, returnFormat: ReturnFormat): Promise<{ accountProof: ByteTypes[ReturnFormat[bytes]][]; balance: NumberTypes[ReturnFormat[number]]; codeHash: ByteTypes[ReturnFormat[bytes]]; nonce: NumberTypes[ReturnFormat[number]]; storageHash: ByteTypes[ReturnFormat[bytes]]; storageProof: { readonly key: ByteTypes[ReturnFormat["bytes"]]; readonly value: NumberTypes[ReturnFormat["number"]]; readonly proof: ByteTypes[ReturnFormat["bytes"]][]; }[] }>

  • View additional documentations here: getProof


    Type parameters

    Parameters

    Returns Promise<{ accountProof: ByteTypes[ReturnFormat[bytes]][]; balance: NumberTypes[ReturnFormat[number]]; codeHash: ByteTypes[ReturnFormat[bytes]]; nonce: NumberTypes[ReturnFormat[number]]; storageHash: ByteTypes[ReturnFormat[bytes]]; storageProof: { readonly key: ByteTypes[ReturnFormat["bytes"]]; readonly value: NumberTypes[ReturnFormat["number"]]; readonly proof: ByteTypes[ReturnFormat["bytes"]][]; }[] }>