Skip to main content

state_getStorage

Returns a storage entry at a specific key on Enjin.

Why Enjin? Build on the purpose-built NFT blockchain with protocol-level minting and $100M Metaverse Fund with NFT functions at protocol level, Fuel Tanks for subsidized fees, 700-1000 TPS, 6-second finality, and ERC-1155 standard pioneer.

Use Cases#

  • State queries - Read on-chain storage values
  • Account balances - Query account data for high-volume NFT minting (2,000+ per tx), gaming assets, and cross-chain NFT transfers via Paratoken standard
  • 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-enjin-matrixchain.n.dwellir.com/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "state_getStorage",
"params": [""],
"id": 1
}'