Kusama RPC

📘

See the Kusama RPC API connection guide.

author

MethodNotesCompute Unit Value
author_submitExtrinsicSubmits an encoded extrinsic to the transaction pool and returns its hash.100

chain

MethodNotesCompute Unit Value
chain_getBlockReturns the signed block and available justifications for a block hash or the best block when omitted.5
chain_getBlockHashReturns the hash of a block at a specified height or the best block hash when omitted.1
chain_getFinalizedHeadReturns the hash of the most recently finalized block.1
chain_getHeaderReturns the header for a block hash or the best block when omitted.5
chain_subscribeAllHeadsSubscribes to notifications produced by chain_subscribeAllHeads.1
chain_subscribeFinalizedHeadsSubscribes to notifications produced by chain_subscribeFinalizedHeads.1
chain_subscribeNewHeadsSubscribes to notifications produced by chain_subscribeNewHeads.1
chain_unsubscribeAllHeadsCancels the subscription identified by the supplied subscription identifier.1
chain_unsubscribeFinalizedHeadsCancels the subscription identified by the supplied subscription identifier.1
chain_unsubscribeNewHeadsCancels the subscription identified by the supplied subscription identifier.1

childstate

MethodNotesCompute Unit Value
childstate_getKeysReturns keys that begin with a supplied prefix.10
childstate_getKeysPagedReturns one page of keys that begin with a supplied prefix.10
childstate_getStorageReturns a stored value at an optional block hash.10
childstate_getStorageEntriesReturns a stored value at an optional block hash.10
childstate_getStorageHashReturns the hash of a stored value.1
childstate_getStorageSizeReturns the byte size of a stored value.1

contracts

MethodNotesCompute Unit Value
contracts_callExecutes a contract call against state without submitting a transaction.10
contracts_getStorageReturns a stored value at an optional block hash.10
contracts_instantiateReturns the result of the contracts_instantiate contract RPC operation.50
contracts_rentProjectionReturns the result of the contracts_rentProjection contract RPC operation.5
contracts_upload_codeReturns the result of the contracts_upload_code contract RPC operation.50

dev

MethodNotesCompute Unit Value
dev_getBlockStatsReturns diagnostic statistics for a specified block.5

grandpaApi

MethodNotesCompute Unit Value
grandpa_proveFinalityGenerates a GRANDPA finality proof for a block.5
grandpa_roundStateReturns the current GRANDPA round state.1
grandpa_subscribeJustificationsSubscribes to notifications produced by grandpa_subscribeJustifications.1
grandpa_unsubscribeJustificationsCancels the subscription identified by the supplied subscription identifier.1

mmr

MethodNotesCompute Unit Value
mmr_generateBatchProofGenerates an MMR proof for a set of leaf indices.5
mmr_generateProofGenerates an MMR proof for a leaf index.5

offchain

MethodNotesCompute Unit Value
offchain_localStorageGetReads a value from the node local offchain storage.5
offchain_localStorageSetWrites a value to the node local offchain storage.100

payment

MethodNotesCompute Unit Value
payment_queryFeeDetailsReturns the fee breakdown for an encoded extrinsic.5
payment_queryInfoReturns dispatch and fee information for an encoded extrinsic.5

rpc

MethodNotesCompute Unit Value
rpc_methodsReturns the RPC methods exposed by the node.1

state

MethodNotesCompute Unit Value
state_callCalls a runtime API method against state at an optional block hash.5
state_getChildKeysReturns the result defined by the state_getChildKeys Substrate RPC method.5
state_getChildReadProofReturns the result defined by the state_getChildReadProof Substrate RPC method.5
state_getChildStorageReturns the result defined by the state_getChildStorage Substrate RPC method.5
state_getChildStorageHashReturns the result defined by the state_getChildStorageHash Substrate RPC method.5
state_getChildStorageSizeReturns the result defined by the state_getChildStorageSize Substrate RPC method.5
state_getKeysReturns keys that begin with a supplied prefix.5
state_getKeysPagedReturns one page of keys that begin with a supplied prefix.5
state_getMetadataReturns SCALE-encoded runtime metadata at an optional block hash.10
state_getPairsReturns key-value pairs for state keys that begin with a supplied prefix.5
state_getReadProofReturns a storage read proof for supplied keys.5
state_getRuntimeVersionReturns the runtime version at an optional block hash.5
state_getStorageReturns a stored value at an optional block hash.5
state_getStorageHashReturns the hash of a stored value.5
state_getStorageSizeReturns the byte size of a stored value.5
state_queryStorageReturns changes to supplied storage keys across a block range.5
state_queryStorageAtReturns changes to supplied storage keys at a block or the best block.5
state_subscribeRuntimeVersionSubscribes to notifications produced by state_subscribeRuntimeVersion.1
state_subscribeStorageSubscribes to notifications produced by state_subscribeStorage.1
state_traceBlockReturns state-access traces for executing a block.100
state_trieMigrationStatusReturns the current trie-migration status.100
state_getStorageAtReturns the value stored under a state key at a specified block hash.5
state_unsubscribeRuntimeVersionCancels the subscription identified by the supplied subscription identifier.1
state_unsubscribeStorageCancels the subscription identified by the supplied subscription identifier.1

syncstate

MethodNotesCompute Unit Value
sync_state_genSyncSpecGenerates the chain synchronization specification.100

system

MethodNotesCompute Unit Value
system_accountNextIndexReturns the next usable account nonce while considering the transaction pool.5
system_addReservedPeerAdds a peer to the reserved-peer set.5
system_chainReturns the result defined by the system_chain Substrate RPC method.1
system_chainTypeReturns the result defined by the system_chainType Substrate RPC method.1
system_dryRunSimulates an encoded extrinsic without broadcasting it.10
system_healthReturns the node health summary.1
system_localListenAddressesReturns the node local listening addresses.100
system_localPeerIdReturns the result defined by the system_localPeerId Substrate RPC method.5
system_nameReturns the node implementation name.1
system_networkStateReturns the node network state.1
system_nodeRolesReturns the node roles.1
system_peersReturns the peers connected to the node.5
system_propertiesReturns the chain properties.1
system_removeReservedPeerRemoves a peer from the reserved-peer set.100
system_reservedPeersReturns the reserved-peer set.100
system_resetLogFilterResets the node log filter to its default.5
system_syncStateReturns the node synchronization state.1
system_versionReturns the node implementation version.1

babe

MethodNotesCompute Unit Value
babe_epochAuthorshipReturns the expected BABE authorship information for an epoch.5

beefy

MethodNotesCompute Unit Value
beefy_getFinalizedHeadReturns the latest block hash finalized by BEEFY.1
beefy_subscribeJustificationsSubscribes to BEEFY finality justifications.1
beefy_unsubscribeJustificationsCancels the subscription identified by the supplied subscription identifier.1