Files
api/packages/api-jsonrpc/docs/state.md
Jaco Greeff e8ccc9aa79 Move to lerna repo (#19)
* Pull api-* packages into lerna repo

* Bootstrap with hoist

* Update jest alias config

* Add api-jsonrpc

* Pull in jsonrpc

* Update badges

* Don't hoist, use workspaces

* .eslintrc to root

* Cleanups, build from root

* Shorthand commands

* Update to @polkadot/dev 0.9.1

* Update description
2017-11-28 18:03:48 +01:00

697 B

state

Query the state and state storage.

  • call Perform a call to a builtin on the chain.
  • getStorage Retrieves the storage for an address.

call

Perform a call to a builtin on the chain.

chain_call (address: Address, method: String, data: CallData, block: HeaderHash): OutData

Calls a method at a specific address, passing the encoded data. The query is executed at the block specified by block.

getStorage

Retrieves the storage for an address.

chain_getStorage (address: Address, key: H256, block: HeaderHash): StorageData

Retrieves the storage key at a specific address, executing the query at a specific block.