RPC Method eth_getStorageAt implementation

Only 'latest' and 'finalized' block numbers are supported.

  • Parameters

    • thorClient: ThorClient

      ThorClient instance.

    • params: unknown[]

      The standard array of rpc call parameters. * params[0]: The address to get the storage slot for as a hex string. * params[1]: The storage position to get as a hex string. * params[2]: The block number to get the storage slot at as a hex string or "latest".

    Returns Promise<string>

    The storage slot of the account at the given address formatted to the RPC standard.