See the Polkadot RPC API connection guide.
author
author| Method | Notes | Compute Unit Value |
|---|---|---|
author_submitExtrinsic | Submits an encoded extrinsic to the transaction pool and returns its hash. | 100 |
chain
chain| Method | Notes | Compute Unit Value |
|---|---|---|
chain_getBlock | Returns the signed block and available justifications for a block hash or the best block when omitted. | 5 |
chain_getBlockHash | Returns the hash of a block at a specified height or the best block hash when omitted. | 1 |
chain_getFinalizedHead | Returns the hash of the most recently finalized block. | 1 |
chain_getHeader | Returns the header for a block hash or the best block when omitted. | 5 |
chain_subscribeAllHeads | Subscribes to notifications produced by chain_subscribeAllHeads. | 1 |
chain_subscribeFinalizedHeads | Subscribes to notifications produced by chain_subscribeFinalizedHeads. | 1 |
chain_subscribeNewHeads | Subscribes to notifications produced by chain_subscribeNewHeads. | 1 |
chain_unsubscribeAllHeads | Cancels the subscription identified by the supplied subscription identifier. | 1 |
chain_unsubscribeFinalizedHeads | Cancels the subscription identified by the supplied subscription identifier. | 1 |
chain_unsubscribeNewHeads | Cancels the subscription identified by the supplied subscription identifier. | 1 |
childstate
childstate| Method | Notes | Compute Unit Value |
|---|---|---|
childstate_getKeys | Returns keys that begin with a supplied prefix. | 10 |
childstate_getKeysPaged | Returns one page of keys that begin with a supplied prefix. | 10 |
childstate_getStorage | Returns a stored value at an optional block hash. | 10 |
childstate_getStorageEntries | Returns a stored value at an optional block hash. | 10 |
childstate_getStorageHash | Returns the hash of a stored value. | 1 |
childstate_getStorageSize | Returns the byte size of a stored value. | 1 |
contracts
contracts| Method | Notes | Compute Unit Value |
|---|---|---|
contracts_call | Executes a contract call against state without submitting a transaction. | 10 |
contracts_getStorage | Returns a stored value at an optional block hash. | 10 |
contracts_instantiate | Returns the result of the contracts_instantiate contract RPC operation. | 50 |
contracts_rentProjection | Returns the result of the contracts_rentProjection contract RPC operation. | 5 |
contracts_upload_code | Returns the result of the contracts_upload_code contract RPC operation. | 50 |
grandpaApi
grandpaApi| Method | Notes | Compute Unit Value |
|---|---|---|
grandpa_proveFinality | Generates a GRANDPA finality proof for a block. | 5 |
grandpa_roundState | Returns the current GRANDPA round state. | 1 |
grandpa_subscribeJustifications | Subscribes to notifications produced by grandpa_subscribeJustifications. | 1 |
grandpa_unsubscribeJustifications | Cancels the subscription identified by the supplied subscription identifier. | 1 |
mmr
mmr| Method | Notes | Compute Unit Value |
|---|---|---|
mmr_generateBatchProof | Generates an MMR proof for a set of leaf indices. | 5 |
mmr_generateProof | Generates an MMR proof for a leaf index. | 5 |
offchain
offchain| Method | Notes | Compute Unit Value |
|---|---|---|
offchain_localStorageGet | Reads a value from the node local offchain storage. | 5 |
offchain_localStorageSet | Writes a value to the node local offchain storage. | 100 |
payment
payment| Method | Notes | Compute Unit Value |
|---|---|---|
payment_queryFeeDetails | Returns the fee breakdown for an encoded extrinsic. | 5 |
payment_queryInfo | Returns dispatch and fee information for an encoded extrinsic. | 5 |
rpc
rpc| Method | Notes | Compute Unit Value |
|---|---|---|
rpc_methods | Returns the RPC methods exposed by the node. | 1 |
state
state| Method | Notes | Compute Unit Value |
|---|---|---|
state_call | Calls a runtime API method against state at an optional block hash. | 5 |
state_getChildKeys | Returns the result defined by the state_getChildKeys Substrate RPC method. | 5 |
state_getChildReadProof | Returns the result defined by the state_getChildReadProof Substrate RPC method. | 5 |
state_getChildStorage | Returns the result defined by the state_getChildStorage Substrate RPC method. | 5 |
state_getChildStorageHash | Returns the result defined by the state_getChildStorageHash Substrate RPC method. | 5 |
state_getChildStorageSize | Returns the result defined by the state_getChildStorageSize Substrate RPC method. | 5 |
state_getKeys | Returns keys that begin with a supplied prefix. | 5 |
state_getKeysPaged | Returns one page of keys that begin with a supplied prefix. | 5 |
state_getMetadata | Returns SCALE-encoded runtime metadata at an optional block hash. | 10 |
state_getPairs | Returns key-value pairs for state keys that begin with a supplied prefix. | 5 |
state_getReadProof | Returns a storage read proof for supplied keys. | 5 |
state_getRuntimeVersion | Returns the runtime version at an optional block hash. | 5 |
state_getStorage | Returns a stored value at an optional block hash. | 5 |
state_getStorageHash | Returns the hash of a stored value. | 5 |
state_getStorageSize | Returns the byte size of a stored value. | 5 |
state_queryStorage | Returns changes to supplied storage keys across a block range. | 5 |
state_queryStorageAt | Returns changes to supplied storage keys at a block or the best block. | 5 |
state_subscribeRuntimeVersion | Subscribes to notifications produced by state_subscribeRuntimeVersion. | 1 |
state_subscribeStorage | Subscribes to notifications produced by state_subscribeStorage. | 1 |
state_traceBlock | Returns state-access traces for executing a block. | 100 |
state_trieMigrationStatus | Returns the current trie-migration status. | 100 |
state_getStorageAt | Returns the value stored under a state key at a specified block hash. | 5 |
state_unsubscribeRuntimeVersion | Cancels the subscription identified by the supplied subscription identifier. | 1 |
state_unsubscribeStorage | Cancels the subscription identified by the supplied subscription identifier. | 1 |
syncstate
syncstate| Method | Notes | Compute Unit Value |
|---|---|---|
sync_state_genSyncSpec | Generates the chain synchronization specification. | 100 |
system
system| Method | Notes | Compute Unit Value |
|---|---|---|
system_accountNextIndex | Returns the next usable account nonce while considering the transaction pool. | 5 |
system_addReservedPeer | Adds a peer to the reserved-peer set. | 5 |
system_chain | Returns the result defined by the system_chain Substrate RPC method. | 1 |
system_chainType | Returns the result defined by the system_chainType Substrate RPC method. | 1 |
system_dryRun | Simulates an encoded extrinsic without broadcasting it. | 10 |
system_health | Returns the node health summary. | 1 |
system_localListenAddresses | Returns the node local listening addresses. | 100 |
system_localPeerId | Returns the result defined by the system_localPeerId Substrate RPC method. | 5 |
system_name | Returns the node implementation name. | 1 |
system_networkState | Returns the node network state. | 1 |
system_nodeRoles | Returns the node roles. | 1 |
system_peers | Returns the peers connected to the node. | 5 |
system_properties | Returns the chain properties. | 1 |
system_removeReservedPeer | Removes a peer from the reserved-peer set. | 100 |
system_reservedPeers | Returns the reserved-peer set. | 100 |
system_resetLogFilter | Resets the node log filter to its default. | 5 |
system_syncState | Returns the node synchronization state. | 1 |
system_version | Returns the node implementation version. | 1 |
babe
babe| Method | Notes | Compute Unit Value |
|---|---|---|
babe_epochAuthorship | Returns the expected BABE authorship information for an epoch. | 5 |
beefy
beefy| Method | Notes | Compute Unit Value |
|---|---|---|
beefy_getFinalizedHead | Returns the latest block hash finalized by BEEFY. | 1 |
beefy_subscribeJustifications | Subscribes to BEEFY finality justifications. | 1 |
beefy_unsubscribeJustifications | Cancels the subscription identified by the supplied subscription identifier. | 1 |
