Polkadot RPC API

📘

See the Polkadot RPC API connection guide.

author

Method
author_submitExtrinsic

beefy

Method
beefy_getFinalizedHead
beefy_subscribeJustifications

chain

Method Compute Unit Value
chain_getBlock
chain_getBlockHash 1
chain_getFinalizedHead 1
chain_getHeader 5
chain_subscribeAllHeads
chain_subscribeFinalizedHeads
chain_subscribeNewHeads

childstate

Method Compute Unit Value
childstate_getKeys 10
childstate_getKeysPaged 10
childstate_getStorage 10
childstate_getStorageEntries 10
childstate_getStorageHash 1
childstate_getStorageSize 1

contracts

Method Compute Unit Value
contracts_call 10
contracts_getStorage 10
contracts_instantiate 50
contracts_rentProjection 5
contracts_upload_code 50

dev

Method
dev_getBlockStats

grandpaApi

Method Compute Unit Value
grandpa_proveFinality 5
grandpa_roundState 1
grandpa_subscribeJustifications

mmr

Method Compute Unit Value
mmr_generateBatchProof 5
mmr_generateProof 5

offchain

Method Compute Unit Value
offchain_localStorageGet 5
offchain_localStorageSet 50

payment

Method Compute Unit Value
payment_queryFeeDetails 5
payment_queryInfo 5

rpc

Method Compute Unit Value
rpc_methods 1

state

Method Compute Unit Value
state_call 5
state_getChildKeys 5
state_getChildReadProof 5
state_getChildStorage 5
state_getChildStorageHash 5
state_getChildStorageSize 5
state_getKeys 5
state_getKeysPaged 5
state_getMetadata 10
state_getPairs 5
state_getReadProof 5
state_getRuntimeVersion 5
state_getStorage 5
state_getStorageHash 5
state_getStorageSize 5
state_queryStorage 5
state_queryStorageAt 5
state_subscribeRuntimeVersion
state_subscribeStorage
state_traceBlock 50
state_trieMigrationStatus 50

syncstate

Method Compute Unit Value
sync_state_genSyncSpec 50

system

Method Compute Unit Value
system_accountNextIndex 5
system_addReservedPeer 5
system_chain 1
system_chainType 1
system_dryRun 10
system_health 1
system_localListexnAddresses 50
system_localPeerId 5
system_name 1
system_networkState 1
system_nodeRoles 1
system_peers 5
system_properties 1
system_removeReservedPeer 50
system_reservedPeers 50
system_resetLogFilter 5
system_syncState 1
system_version 1