Skip to main content

state_getStorage

Returns a storage entry at a specific key on Manta Atlantic.

Why Manta Atlantic? Build on the ZK Layer 1 on Polkadot enabling private transactions and on-chain compliance identities with zkSNARK-powered privacy, modular compliance identities, MANTA token staking hub, and end-to-end transaction privacy.

Use Cases#

  • State queries - Read on-chain storage values
  • Account balances - Query account data for private asset transfers, zkNFTs, on-chain compliance identities, and private parachain asset swaps
  • Pallet storage - Access runtime storage items
  • Historical state - Query state at specific blocks

Parameters#

ParameterTypeRequiredDescription
keyStringYesStorage key (hex-encoded)
blockHashStringNoBlock hash for historical query

Request#

{
"jsonrpc": "2.0",
"method": "state_getStorage",
"params": [""],
"id": 1
}

Code Examples#

curl https://api-manta-atlantic-mainnet.n.dwellir.com/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "state_getStorage",
"params": [""],
"id": 1
}'