Polkadot storage key for an account
Get the System.Account storage key for any SS58 address, ready for state_getStorage, and decode the SCALE AccountInfo hex the node sends back.
Try an example:Alice
A Substrate account's balance lives under twox128("System") + twox128("Account") + blake2_128_concat(account id). This page builds that key from an address, so you can query a node directly with state_getStorage.
Paste the hex the node returns to decode the nonce and free, reserved and frozen balances.
AI agents can run this through the SwapChan MCP tool substrate_tool. Set up MCP
FAQ
- Which networks does it work for?
- Any Substrate chain using the standard System pallet: Polkadot, Kusama and most parachains. The key depends on the account id, not the SS58 prefix.
- Where do I use the key?
- In a state_getStorage RPC call to any node. The result is the SCALE-encoded AccountInfo you can decode here.
- Is it safe?
- Yes. It only reads public data you paste. Nothing is stored or logged, and you never need a private key or seed phrase here.