# Kusama RPC API Methods

See the [Kusama RPC API connection guide](https://docs.blockdaemon.com/docs/access-kusama-rpc-via-substrate-rpc-api).

## author

| Method |
| --- |
| **[`author_submitExtrinsic`](https://polkadot.js.org/docs/substrate/rpc/#submitandwatchextrinsicextrinsic-extrinsic-extrinsicstatus)** |

## beefy

| Method |
| --- |
| **[`beefy_getFinalizedHead`](https://polkadot.js.org/docs/substrate/rpc/#getfinalizedhead-h256)** |
| **[`beefy_subscribeJustifications`](https://polkadot.js.org/docs/kusama/rpc#subscribejustifications-beefyversionedfinalityproof)** |

## chain

| Method | Compute Unit Value |
| --- | --- |
| **[`chain_getBlock`](https://polkadot.js.org/docs/substrate/rpc/#getblockhash-blockhash-signedblock)** |  |
| **[`chain_getBlockHash`](https://polkadot.js.org/docs/substrate/rpc/#getblockhashblocknumber-blocknumber-blockhash)** | 1 |
| **[`chain_getFinalizedHead`](https://polkadot.js.org/docs/substrate/rpc/#getfinalizedhead-blockhash)** | 1 |
| **[`chain_getHeader`](https://polkadot.js.org/docs/substrate/rpc/#getheaderhash-blockhash-header)** | 5 |
| **[`chain_subscribeAllHeads`](https://polkadot.js.org/docs/substrate/rpc/#subscribeallheads-header)** |  |
| **[`chain_subscribeFinalizedHeads`](https://polkadot.js.org/docs/substrate/rpc/#subscribefinalizedheads-header)** |  |
| **[`chain_subscribeNewHeads`](https://polkadot.js.org/docs/substrate/rpc/#subscribenewheads-header)** |  |

## childstate

| Method | Compute Unit Value |
| --- | --- |
| **[`childstate_getKeys`](https://polkadot.js.org/docs/substrate/rpc/#getkeyschildkey-prefixedstoragekey-prefix-storagekey-at-hash-vecstoragekey)** | 10 |
| **[`childstate_getKeysPaged`](https://polkadot.js.org/docs/substrate/rpc/#getkeyspagedchildkey-prefixedstoragekey-prefix-storagekey-count-u32-startkey-storagekey-at-hash-vecstoragekey)** | 10 |
| **[`childstate_getStorage`](https://polkadot.js.org/docs/substrate/rpc/#getstoragechildkey-prefixedstoragekey-key-storagekey-at-hash-optionstoragedata)** | 10 |
| **[`childstate_getStorageEntries`](https://polkadot.js.org/docs/substrate/rpc/#getstorageentrieschildkey-prefixedstoragekey-keys-vecstoragekey-at-hash-vecoptionstoragedata)** | 10 |
| **[`childstate_getStorageHash`](https://polkadot.js.org/docs/substrate/rpc/#getstoragehashchildkey-prefixedstoragekey-key-storagekey-at-hash-optionhash)** | 1 |
| **[`childstate_getStorageSize`](https://polkadot.js.org/docs/substrate/rpc/#getstoragesizechildkey-prefixedstoragekey-key-storagekey-at-hash-optionu64)** | 1 |

## contracts

| Method | Compute Unit Value |
| --- | --- |
| **[`contracts_call`](https://polkadot.js.org/docs/substrate/rpc/#callcallrequest-contractcallrequest-at-blockhash-contractexecresult)** | 10 |
| **[`contracts_getStorage`](https://polkadot.js.org/docs/substrate/rpc/#getstorageaddress-accountid-key-h256-at-blockhash-optionbytes)** | 10 |
| **[`contracts_instantiate`](https://polkadot.js.org/docs/substrate/rpc/#instantiaterequest-instantiaterequest-at-blockhash-contractinstantiateresult)** | 50 |
| **[`contracts_rentProjection`](https://polkadot.js.org/docs/substrate/rpc/#rentprojectionaddress-accountid-at-blockhash-optionblocknumber)** | 5 |
| **[`contracts_upload_code`](https://polkadot.js.org/docs/substrate/rpc/#uploadcodeuploadrequest-codeuploadrequest-at-blockhash-codeuploadresult)** | 50 |

## dev

| Method | Compute Unit Value |
| --- | --- |
| **[`dev_getBlockStats`](https://polkadot.js.org/docs/substrate/rpc/#uploadcodeuploadrequest-codeuploadrequest-at-blockhash-codeuploadresult)** |  |

## grandpaApi

| Method | Compute Unit Value |
| --- | --- |
| **[`grandpa_proveFinality`](https://polkadot.js.org/docs/substrate/rpc/#provefinalityblocknumber-blocknumber-optionencodedfinalityproofs)** | 5 |
| **[`grandpa_roundState`](https://polkadot.js.org/docs/substrate/rpc/#roundstate-reportedroundstates)** | 1 |
| **[`grandpa_subscribeJustifications`](https://polkadot.js.org/docs/substrate/rpc/#subscribejustifications-justificationnotification)** |  |

## mmr

| Method | Compute Unit Value |
| --- | --- |
| **[`mmr_generateBatchProof`](https://polkadot.js.org/docs/substrate/rpc/#generatebatchproofleafindices-vecu64-at-blockhash-mmrleafproof)** | 5 |
| **[`mmr_generateProof`](https://polkadot.js.org/docs/substrate/rpc/#generateproofleafindex-u64-at-blockhash-mmrleafbatchproof)** | 5 |

## offchain

| Method | Compute Unit Value |
| --- | --- |
| **[`offchain_localStorageGet`](https://polkadot.js.org/docs/substrate/rpc/#localstoragegetkind-storagekind-key-bytes-optionbytes)** | 5 |
| **[`offchain_localStorageSet`](https://polkadot.js.org/docs/substrate/rpc/#localstoragesetkind-storagekind-key-bytes-value-bytes-null)** | 100 |

## payment

| Method | Compute Unit Value |
| --- | --- |
| **[`payment_queryFeeDetails`](https://polkadot.js.org/docs/substrate/rpc/#queryfeedetailsextrinsic-bytes-at-blockhash-feedetails)** | 5 |
| **[`payment_queryInfo`](https://polkadot.js.org/docs/substrate/rpc/#queryinfoextrinsic-bytes-at-blockhash-runtimedispatchinfo)** | 5 |

## rpc

| Method | Compute Unit Value |
| --- | --- |
| **[`rpc_methods`](https://polkadot.js.org/docs/substrate/rpc/#methods-rpcmethods)** | 1 |

## state

| Method | Compute Unit Value |
| --- | --- |
| **[`state_call`](https://polkadot.js.org/docs/substrate/rpc/#callmethod-text-data-bytes-at-blockhash-bytes)** | 5 |
| **[`state_getChildKeys`](https://polkadot.js.org/docs/substrate/rpc/#getchildkeyschildstoragekey-storagekey-childdefinition-storagekey-childtype-u32-key-storagekey-at-blockhash-vecstoragekey)** | 5 |
| **[`state_getChildReadProof`](https://polkadot.js.org/docs/substrate/rpc/#getchildreadproofchildstoragekey-prefixedstoragekey-keys-vecstoragekey-at-blockhash-readproof)** | 5 |
| **[`state_getChildStorage`](https://polkadot.js.org/docs/substrate/rpc/#getchildstoragechildstoragekey-storagekey-childdefinition-storagekey-childtype-u32-key-storagekey-at-blockhash-storagedata)** | 5 |
| **[`state_getChildStorageHash`](https://polkadot.js.org/docs/substrate/rpc/#getchildstoragehashchildstoragekey-storagekey-childdefinition-storagekey-childtype-u32-key-storagekey-at-blockhash-hash)** | 5 |
| **[`state_getChildStorageSize`](https://polkadot.js.org/docs/substrate/rpc/#getchildstoragesizechildstoragekey-storagekey-childdefinition-storagekey-childtype-u32-key-storagekey-at-blockhash-u64)** | 5 |
| **[`state_getKeys`](https://polkadot.js.org/docs/substrate/rpc/#getkeyskey-storagekey-at-blockhash-vecstoragekey)** | 5 |
| **[`state_getKeysPaged`](https://polkadot.js.org/docs/substrate/rpc/#getkeyspagedkey-storagekey-count-u32-startkey-storagekey-at-blockhash-vecstoragekey)** | 5 |
| **[`state_getMetadata`](https://polkadot.js.org/docs/substrate/rpc/#getmetadataat-blockhash-metadata)** | 10 |
| **[`state_getPairs`](https://polkadot.js.org/docs/substrate/rpc/#getpairsprefix-storagekey-at-blockhash-veckeyvalue)** | 5 |
| **[`state_getReadProof`](https://polkadot.js.org/docs/substrate/rpc/#getreadproofkeys-vecstoragekey-at-blockhash-readproof)** | 5 |
| **[`state_getRuntimeVersion`](https://polkadot.js.org/docs/substrate/rpc/#getruntimeversionat-blockhash-runtimeversion)** | 5 |
| **[`state_getStorage`](https://polkadot.js.org/docs/substrate/rpc/#getstoragekey-storagekey-at-blockhash-storagedata)** | 5 |
| **[`state_getStorageHash`](https://polkadot.js.org/docs/substrate/rpc/#getstoragehashkey-storagekey-at-blockhash-hash)** | 5 |
| **[`state_getStorageSize`](https://polkadot.js.org/docs/substrate/rpc/#getstoragesizekey-storagekey-at-blockhash-u64)** | 5 |
| **[`state_queryStorage`](https://polkadot.js.org/docs/substrate/rpc/#querystoragekeys-vecstoragekey-fromblock-hash-toblock-blockhash-vecstoragechangeset)** | 5 |
| **[`state_queryStorageAt`](https://polkadot.js.org/docs/substrate/rpc/#querystorageatkeys-vecstoragekey-at-blockhash-vecstoragechangeset)** | 5 |
| **[`state_subscribeRuntimeVersion`](https://polkadot.js.org/docs/substrate/rpc/#subscriberuntimeversion-runtimeversion)** |  |
| **[`state_subscribeStorage`](https://polkadot.js.org/docs/substrate/rpc/#subscribestoragekeys-vecstoragekey-storagechangeset)** |  |
| **[`state_traceBlock`](https://polkadot.js.org/docs/substrate/rpc/#traceblockblock-hash-targets-optiontext-storagekeys-optiontext-methods-optiontext-traceblockresponse)** | 100 |
| **[`state_trieMigrationStatus`](https://polkadot.js.org/docs/substrate/rpc/#triemigrationstatusat-blockhash-migrationstatusresult)** | 100 |

## syncstate

| Method | Compute Unit Value |
| --- | --- |
| **[`sync_state_genSyncSpec`](https://polkadot.js.org/docs/substrate/rpc/#gensyncspecraw-bool-json)** | 100 |

## system

| Method | Compute Unit Value |
| --- | --- |
| **[`system_accountNextIndex`](https://polkadot.js.org/docs/substrate/rpc/#accountnextindexaccountid-accountid-index)** | 5 |
| **[`system_addReservedPeer`](https://polkadot.js.org/docs/substrate/rpc/#addreservedpeerpeer-text-text)** | 5 |
| **[`system_chain`](https://polkadot.js.org/docs/substrate/rpc/#chain-text)** | 1 |
| **[`system_chainType`](https://polkadot.js.org/docs/substrate/rpc/#chaintype-chaintype)** | 1 |
| **[`system_dryRun`](https://polkadot.js.org/docs/substrate/rpc/#dryrunextrinsic-bytes-at-blockhash-applyextrinsicresult)** | 10 |
| **[`system_health`](https://polkadot.js.org/docs/substrate/rpc/#health-health)** | 1 |
| **[`system_localListenAddresses`](https://polkadot.js.org/docs/substrate/rpc/#locallistenaddresses-vectext)** | 100 |
| **[`system_localPeerId`](https://polkadot.js.org/docs/substrate/rpc/#localpeerid-text)** | 5 |
| **[`system_name`](https://polkadot.js.org/docs/substrate/rpc/#name-text)** | 1 |
| **[`system_networkState`](https://polkadot.js.org/docs/substrate/rpc/#networkstate-networkstate)** | 1 |
| **[`system_nodeRoles`](https://polkadot.js.org/docs/substrate/rpc/#noderoles-vecnoderole)** | 1 |
| **[`system_peers`](https://polkadot.js.org/docs/substrate/rpc/#peers-vecpeerinfo)** | 5 |
| **[`system_properties`](https://polkadot.js.org/docs/substrate/rpc/#properties-chainproperties)** | 1 |
| **[`system_removeReservedPeer`](https://polkadot.js.org/docs/substrate/rpc/#removereservedpeerpeerid-text-text)** | 100 |
| **[`system_reservedPeers`](https://polkadot.js.org/docs/substrate/rpc/#reservedpeers-vectext)** | 100 |
| **[`system_resetLogFilter`](https://polkadot.js.org/docs/substrate/rpc/#resetlogfilter-null)** | 5 |
| **[`system_syncState`](https://polkadot.js.org/docs/substrate/rpc/#syncstate-syncstate)** | 1 |
| **[`system_version`](https://polkadot.js.org/docs/substrate/rpc/#version-text-1)** | 1 |
