Example of json rpc call:
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "rpc_methods"}' https://rpc.reefscan.com
- jsonrpc:
author_hasKey
- summary: Returns true if the keystore has private keys for the given public key and key type.
- jsonrpc:
author_hasSessionKeys
- summary: Returns true if the keystore has private keys for the given session public keys.
- jsonrpc:
author_insertKey
- summary: Insert a key into the keystore.
- jsonrpc:
author_pendingExtrinsics
- summary: Returns all pending extrinsics, potentially grouped by sender
- jsonrpc:
author_removeExtrinsic
- summary: Remove given extrinsic from the pool and temporarily ban it to prevent reimporting
- jsonrpc:
author_submitAndWatchExtrinsic
- summary: Submit and subscribe to watch an extrinsic until unsubscribed
- jsonrpc:
author_submitExtrinsic
- summary: Submit a fully formatted extrinsic for block inclusion
- jsonrpc:
author_unwatchExtrinsic
- summary: Unsubscribe from extrinsic watching
- jsonrpc:
chain_getHead
/chain_getBlockHash
- summary: Get the block hash for a specific block
- jsonrpc:
chain_getBlock
- summary: Get header and body of a relay chain block
- jsonrpc:
chain_getFinalizedHead
/chain_getFinalisedHead
- summary: Get hash of the last finalized block in the canon chain
- jsonrpc:
chain_getHeader
- summary: Retrieves the header for a specific block
- jsonrpc:
chain_getRuntimeVersion
- summary: Get the runtime version
- jsonrpc:
chain_subscribeAllHeads
- summary: Retrieves the newest header via subscription
- jsonrpc:
chain_subscribeFinalizedHeads
/chain_subscribeFinalisedHeads
- summary: Retrieves the best finalized header via subscription
- jsonrpc:
chain_subscribeNewHeads
/chain_subscribeNewHead
/subscribe_newHead
- summary: Retrieves the best header via subscription
- jsonrpc:
chain_subscribeRuntimeVersion
- summary: Retrieves the runtime version via subscription
- jsonrpc:
chain_unsubscribeAllHeads
- summary: Unsubscribe all heads
- jsonrpc:
chain_unsubscribeFinalizedHeads
/chain_unsubscribeFinalisedHeads
- summary: Unsubscribe finalized heads
- jsonrpc:
chain_unsubscribeNewHead
/chain_unsubscribeNewHeads
/unsubscribe_newHead
- summary: Unsubscribe new heads
- jsonrpc:
chain_unsubscribeRuntimeVersion
- summary: Unsubscribe runtime version
- jsonrpc:
childstate_getKeys
- summary: Returns the keys with prefix from a child storage, leave empty to get all the keys
getKeysPaged(childKey: PrefixedStorageKey
, prefix: StorageKey
, count: u32
, startKey?: StorageKey
, at?: Hash
): Vec<StorageKey>
- jsonrpc:
childstate_getKeysPaged
/childstate_getKeysPagedAt
- summary: Returns the keys with prefix from a child storage with pagination support
- jsonrpc:
childstate_getStorage
- summary: Returns a child storage entry at a specific block state
- jsonrpc:
childstate_getStorageHash
- summary: Returns the hash of a child storage entry at a block state
- jsonrpc:
childstate_getStorageSize
- summary: Returns the size of a child storage entry at a block state
- jsonrpc:
evm_call
- summary: Call contract, returning the output data.
- jsonrpc:
evm_estimateGas
- summary: Estimate gas needed for execution of given contract.
- jsonrpc:
evm_estimateResources
- summary: Estimate resources needed for execution of given contract.
- jsonrpc:
grandpa_proveFinality
- summary: Prove finality for the given block number, returning the Justification for the last block in the set.
- jsonrpc:
grandpa_roundState
- summary: Returns the state of the current best round state as well as the ongoing background rounds
- jsonrpc:
grandpa_subscribeJustifications
- summary: Subscribes to grandpa justifications
- jsonrpc:
grandpa_unsubscribeJustifications
- summary: Unsubscribe to grandpa justifications
- jsonrpc:
offchain_localStorageGet
- summary: Get offchain local storage under given key and prefix
- jsonrpc:
offchain_localStorageSet
- summary: Set offchain local storage under given key and prefix
- jsonrpc:
payment_queryFeeDetails
- summary: Query the detailed fee of a given encoded extrinsic
- jsonrpc:
payment_queryInfo
- summary: Retrieves the fee information for an encoded extrinsic
- jsonrpc:
rpc_methods
- summary: Retrieves the list of RPC methods that are exposed by the node
- jsonrpc:
state_call
/state_callAt
- summary: Perform a call to a builtin on the chain
getChildReadProof(childStorageKey: PrefixedStorageKey
, keys: Vec<StorageKey>
, at?: BlockHash
): ReadProof
- jsonrpc:
state_getChildReadProof
- summary: Returns proof of storage for child key entries at a specific block state.
- jsonrpc:
state_getKeys
- summary: Retrieves the keys with a certain prefix
- jsonrpc:
state_getKeysPaged
/state_getKeysPagedAt
- summary: Returns the keys with prefix with pagination support.
- jsonrpc:
state_getMetadata
- summary: Returns the runtime metadata
- jsonrpc:
state_getPairs
- summary: Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged)
- jsonrpc:
state_getReadProof
- summary: Returns proof of storage entries at a specific block state
- jsonrpc:
state_getRuntimeVersion
- summary: Get the runtime version
- jsonrpc:
state_getStorage
/state_getStorageAt
- summary: Retrieves the storage for a key
- jsonrpc:
state_getStorageHash
/state_getStorageHashAt
- summary: Retrieves the storage hash
- jsonrpc:
state_getStorageSize
/state_getStorageSizeAt
- summary: Retrieves the storage size
- jsonrpc:
state_queryStorage
- summary: Query historical storage entries (by key) starting from a start block
- jsonrpc:
state_queryStorageAt
- summary: Query storage entries (by key) starting at block hash given as the second parameter
- jsonrpc:
state_subscribeRuntimeVersion
- summary: Retrieves the runtime version via subscription
- jsonrpc:
state_subscribeStorage
- summary: Subscribes to storage changes for the provided keys
traceBlock(block: Hash
, targets: Option<Text>
, storageKeys: Option<Text>
, methods: Option<Text>
): TraceBlockResponse
- jsonrpc:
state_traceBlock
- summary: Provides a way to trace the re-execution of a single block
- jsonrpc:
state_unsubscribeRuntimeVersion
- summary: Unsubscribe runtime version
- jsonrpc:
state_unsubscribeStorage
- summary: Unsubscribe state storage changes
- jsonrpc:
system_accountNextIndex
/account_nextIndex
- summary: Retrieves the next accountIndex as available on the node
- jsonrpc:
system_addLogFilter
- summary: Adds the supplied directives to the current log filter
- jsonrpc:
system_addReservedPeer
- summary: Adds a reserved peer
- jsonrpc:
system_chain
- summary: Retrieves the chain
- jsonrpc:
system_chainType
- summary: Retrieves the chain type
- jsonrpc:
system_dryRun
/system_dryRunAt
- summary: Dry run an extrinsic at a given block
- jsonrpc:
system_health
- summary: Return health status of the node
- jsonrpc:
system_localListenAddresses
- summary: The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example
- jsonrpc:
system_localPeerId
- summary: Returns the base58-encoded PeerId of the node
- jsonrpc:
system_name
- summary: Retrieves the node name
- jsonrpc:
system_nodeRoles
- summary: Returns the roles the node is running as
- jsonrpc:
system_properties
- summary: Get a custom set of properties as a JSON object, defined in the chain spec
- jsonrpc:
system_removeReservedPeer
- summary: Remove a reserved peer
- jsonrpc:
system_reservedPeers
- summary: Returns the list of reserved peers
- jsonrpc:
system_syncState
- summary: Returns the state of the syncing of the node
- jsonrpc:
system_version
- summary: Retrieves the version of the node