🚀 We’re excited to announce our $35m Series A led by Tiger Global: Press Release, Coindesk, Bloomberg, Business Insider & RefreshMiami!

Contents

eth_getStorageAt RPC method

Parameters:

  1. Address - The address to check for storage.
  2. Quantity - Integer of the position in storage.
  3. Quantity | Tag - (optional) Integer block number, or the string 'latest, 'earliest' or 'pending, see the default block parameter

Returns:

  1. Result - the value at this storage position.

Code Examples:

from web3 import Web3, HTTPProvider
w3 = Web3(HTTPProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/'))
storage = w3.eth.get_storage_at('0x6C8f2A135f6ed072DE4503Bd7C4999a1a17F824B', 0, 2)
print(storage.hex())
Ready to try QuickNode? Start your 7-day free trial