Skip to main content

state_getStorage

Returns a storage entry at a specific key on Bifrost.

Why Bifrost? Build on Polkadot's largest liquid staking appchain with 60% DOT LST market share and $125M+ TVL with first LST governance on OpenGov, 60% DOT market share, Hyperbridge ETH integration, and 500K DOT treasury support.

Use Cases#

  • State queries - Read on-chain storage values
  • Account balances - Query account data for omnichain liquid staking (vDOT, vKSM, vGLMR, vMOVR, vASTR), cross-chain vToken governance, and DOT/ETH liquidity bridging
  • 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-bifrost-polkadot.n.dwellir.com/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "state_getStorage",
"params": [""],
"id": 1
}'