eth_getStorageAt - Manta RPC Method
Read contract storage on Manta Pacific. Essential for analyzing contract state for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits.
Returns the value from a storage position at a given address on Manta Pacific.
Use Cases
- Contract analysis - Read raw storage values
- State verification - Verify contract state
- Security auditing - Analyze storage layout for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits
- Protocol monitoring - Track state changes
Request Parameters
20-byte contract address
Storage slot position
Block number or tag
Response Body
Code Examples
curl -X POST https://api-manta-pacific-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"0x0Dc808adcE2099A9F62AA87D9670745AbA741746",
"0x0",
"latest"
],
"id": 1
}'import { JsonRpcProvider } from 'ethers';
const provider = new JsonRpcProvider('https://api-manta-pacific-archive.n.dwellir.com/YOUR_API_KEY');
const address = '0x0Dc808adcE2099A9F62AA87D9670745AbA741746';
const slot = 0;
const storage = await provider.getStorage(address, slot);
console.log('Storage at slot 0:', storage);from web3 import Web3
w3 = Web3(Web3.HTTPProvider('https://api-manta-pacific-archive.n.dwellir.com/YOUR_API_KEY'))
address = '0x0Dc808adcE2099A9F62AA87D9670745AbA741746'
storage = w3.eth.get_storage_at(address, 0)
print(f'Storage at slot 0: {storage.hex()}')Related Methods
eth_getCode- Get contract bytecodeeth_call- Call contract functions
eth_getCode
Get contract bytecode on Manta Pacific. Essential for verifying smart contracts for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits.
eth_getTransactionCount
Get account nonce on Manta Pacific. Essential for transaction ordering for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits.