Arbitrum Node API - Debug Trace Block By Hash
v1.0.0https://tao.nownodes.iohttps://tao.nownodes.ioTAO RPChttps://tao.example.ioReturns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer
Authentication
api-keyAuthapiKeyAPI Key: api-key in header
DEBUG
debug_traceBlockByHash
Trace block by hash
Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string | object>requiredidintegerrequiredResponse
Block transaction traces by hash
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerdebug_traceBlockByNumber
Trace block by number
Returns the tracing result by executing all transactions in the block specified by number with a tracer
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string | object>requiredidintegerrequiredResponse
Block transaction traces by number
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerdebug_traceCall
Trace call execution
Returns the number of possible tracing result by executing an eth call within the context of the given block execution
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<object | string>requiredidintegerrequiredResponse
Call execution trace
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerdebug_traceTransaction
Trace transaction execution
Returns all traces of a given transaction
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string | object>requiredidintegerrequiredResponse
Transaction execution trace
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerEVM
eth_accounts
Ethereum method - eth_accounts
Returns an array of addresses controlled by the client.
Body
jsonrpcstringrequiredJSON-RPC version identifier
methodstringrequiredName of the JSON-RPC method
paramsarrayrequiredNo parameters are required for this method. This must be an empty array.
idintegerrequiredUnique identifier for the JSON-RPC request
Response
A list of Ethereum addresses
Authorization
api-keyAuthapiKey in headereth_blockNumber
Ethereum method - eth_blockNumber
Returns the number of the latest block on the chain in hexadecimal format.
Body
jsonrpcstringrequiredThe JSON-RPC protocol version
methodstringrequiredName of the method being called
paramsarrayrequiredThis method does not take parameters; always send an empty array.
idintegerrequiredA unique ID for the request
Response
The latest block number
Authorization
api-keyAuthapiKey in headereth_call
Ethereum method - eth_call
Executes a call to a contract or address and returns the result without broadcasting a transaction.
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<object | string>requiredThe first object specifies the call transaction object. The second (optional) parameter specifies the block context.
idintegerrequiredResponse
Result of the call
Authorization
api-keyAuthapiKey in headereth_chainId
Ethereum method - eth_chainId
Returns the hexadecimal string of the current chain ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredName of the method to call
paramsarrayrequiredThis method does not require parameters. Use an empty array.
idintegerrequiredUnique identifier for the request
Response
Chain ID response
Authorization
api-keyAuthapiKey in headereth_estimateGas
Estimate Gas for Transaction
Simulates a transaction and returns an estimate of how much gas would be used.
Body
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredThe method name
paramsArray<object | string>requiredThe transaction call object and an optional block tag.
idintegerrequiredRequest identifier
Response
Estimated gas amount
Authorization
api-keyAuthapiKey in headereth_gasPrice
Get Suggested Gas Price
Returns the current gas price in wei as a hexadecimal string. This value is a node estimate based on recent blocks and mempool activity.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsarrayrequiredThis method takes an empty array.
idintegerrequiredRequest identifier
Response
Suggested gas price in wei
Authorization
api-keyAuthapiKey in headereth_getBalance
Get ETH Balance of an Address
Retrieves the balance (in wei) of a given Ethereum address. You can specify the block parameter to get the balance at a specific block.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray with 2 parameters:
- Address (20-byte hex string with '0x' prefix)
- Block tag (e.g., 'latest', 'earliest', 'pending', or block number in hex)
idintegerrequiredRequest ID
Response
Balance (in wei) as hex string
Authorization
api-keyAuthapiKey in headereth_getBlockByHash
Get Block by Hash
Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest ID
Response
Block information
Authorization
api-keyAuthapiKey in headereth_getBlockByNumber
Get Block by Number
Returns the block information for the specified block number. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray of parameters:
- Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending")
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest ID
Response
Block information
Authorization
api-keyAuthapiKey in headereth_getBlockReceipts
Get All Transaction Receipts for a Block
Returns an array of transaction receipts for every transaction in the block specified by block number or block hash.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredOne parameter:
- Block identifier, which can be either:
- block number as hex string (e.g. "0x10d4f")
- or block hash as hex string (0x-prefixed)
idintegerrequiredRequest identifier
Response
Array of transaction receipts in the block
Authorization
api-keyAuthapiKey in headereth_getBlockTransactionCountByHash
Get Transaction Count by Block Hash
Returns the number of transactions contained in the block with the given hash.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray containing a single parameter:
- Block hash as a hex string (32 bytes with 0x prefix)
idintegerrequiredRequest ID
Response
Number of transactions in the block
Authorization
api-keyAuthapiKey in headereth_getBlockTransactionCountByNumber
Get Transaction Count by Block Number
Returns the number of transactions contained in the block with the given block number.
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray containing a single parameter:
- Block number as a hex string (e.g. "0x10d4f" for block 69007) or
- predefined block tags such as "latest", "earliest", or "pending"
idintegerrequiredRequest ID
Response
Number of transactions in the block
Authorization
api-keyAuthapiKey in headereth_getCode
Get Contract Bytecode at Address
Returns the contract code stored at a given address. If the address is an externally owned account (EOA), it returns "0x".
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with two elements:
- The address to get the code for (hex string, 0x-prefixed).
- The block number or block tag (e.g., "latest", "earliest", "pending").
idintegerrequiredRequest identifier.
Response
Contract bytecode in hex format
Authorization
api-keyAuthapiKey in headereth_getFilterChanges
Get Filter Changes
Returns an array of logs that occurred since the last poll for the specified filter ID. The filter must have been previously created with eth_newFilter or eth_newBlockFilter or eth_newPendingTransactionFilter.
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with a single element:
- The filter ID (hex string).
idintegerrequiredRequest identifier.
Response
Array of log objects or transaction hashes depending on filter type
Authorization
api-keyAuthapiKey in headereth_getFilterLogs
Get Filter Logs
Returns all logs matching a filter with the specified filter ID. The filter must have been previously created with eth_newFilter.
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with one element:
- The filter ID (hex string).
idintegerrequiredRequest identifier.
Response
Array of log objects matching the filter
Authorization
api-keyAuthapiKey in headereth_getLogs
Get Logs
Returns an array of logs that match the filter criteria specified in the params. The filter object supports filtering by block range, addresses, and topics.
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredParameters array with one element: the filter object.
idintegerrequiredRequest identifier.
Response
Array of log objects matching the filter
Authorization
api-keyAuthapiKey in headereth_getStorageAt
Get Storage At
Returns the value stored at position in the storage of the contract at address at the given blockNumber.
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array:
- address: string - Contract address to query storage from.
- position: string - Storage slot position (hex string).
- block number: string - Block number or keywords ("latest", "earliest", "pending").
idintegerrequiredRequest identifier.
Response
Storage slot value at the specified position
Authorization
api-keyAuthapiKey in headereth_getTransactionByBlockHashAndIndex
Get Transaction by Block Hash and Index
Retrieves the transaction from a block using the block's hash and the transaction's index position within the block.
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredParameters:
- blockHash (string): The 32-byte hash of the block.
- transactionIndex (string): The transaction index (hex).
idintegerrequiredResponse
A transaction object or null if no transaction was found.
Authorization
api-keyAuthapiKey in headereth_getTransactionByBlockNumberAndIndex
Get Transaction by Block Number and Index
Returns the information about a transaction using the block number and the transaction index within the block.
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredParameters:
- Block number in hex format (e.g., "0x5daf3b")
- Transaction index in the block (e.g., "0x0")
idintegerrequiredResponse
A transaction object, or null if not found.
Authorization
api-keyAuthapiKey in headereth_getTransactionByHash
Get transaction by hash
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredArray containing a single transaction hash
idintegerrequiredResponse
Transaction object or null
Authorization
api-keyAuthapiKey in headereth_getTransactionCount
Get transaction count (nonce) for address
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>required- address: The address to check for transaction count.
- block: The block parameter (e.g., "latest", "earliest", "pending").
idintegerrequiredResponse
Hex encoded nonce (transaction count)
Authorization
api-keyAuthapiKey in headereth_getTransactionReceipt
Get transaction receipt by hash
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredidintegerrequiredResponse
Transaction receipt if mined, otherwise null
Authorization
api-keyAuthapiKey in headereth_getUncleByBlockHashAndIndex
Get uncle block by block hash and index
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredblockHash: 32-byte block hashindex: the uncle index as hex (e.g., "0x0" for the first uncle)
idintegerrequiredResponse
Uncle block object or null
Authorization
api-keyAuthapiKey in headereth_getUncleByBlockNumberAndIndex
Get uncle block by block number and index
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredblockNumber: The block number as hex string (e.g., "0x10fb78"), or "latest", "earliest", "pending".index: The uncle index as hex (e.g., "0x0" for the first uncle).
idintegerrequiredResponse
Uncle block object or null
Authorization
api-keyAuthapiKey in headereth_getUncleCountByBlockHash
Get the number of uncle blocks by block hash
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredAn array containing the block hash.
idintegerrequiredResponse
Number of uncles in the block
Authorization
api-keyAuthapiKey in headereth_getUncleCountByBlockNumber
Get the number of uncle blocks by block number
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredAn array containing the block number as a hex string.
idintegerrequiredResponse
Number of uncle blocks in the block
Authorization
api-keyAuthapiKey in headereth_maxPriorityFeePerGas
Get recommended maxPriorityFeePerGas value
Body
jsonrpcstringrequiredmethodstringrequiredparamsarrayrequiredNo parameters are required.
idintegerrequiredResponse
Returns the suggested maxPriorityFeePerGas value
Authorization
api-keyAuthapiKey in headereth_newBlockFilter
Create a new block filter
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<any>requiredThis method does not require any parameters.
idintegerrequiredResponse
Filter ID created successfully
Authorization
api-keyAuthapiKey in headereth_newFilter
Create a new log filter
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<object>requiredArray with one object describing the filter options.
idintegerrequiredResponse
Filter ID created successfully
Authorization
api-keyAuthapiKey in headereth_newPendingTransactionFilter
Create a filter for pending transactions
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<any>requiredNo parameters required for this method
idintegerrequiredRequest identifier
Response
Filter ID created successfully
Authorization
api-keyAuthapiKey in headereth_sendRawTransaction
Send a raw signed transaction
Body
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
paramsArray<string>requiredArray containing a single signed transaction data (hex string)
idintegerrequiredRequest ID
Response
Transaction successfully sent
Authorization
api-keyAuthapiKey in headereth_sendTransaction
Send a transaction using node-managed account
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<object>requiredTransaction object
idintegerrequiredResponse
Transaction successfully sent
Authorization
api-keyAuthapiKey in headereth_sign
Sign arbitrary data using eth_sign
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>required[address, data]
- address: The account that will sign the data
- data: The data to be signed (must be a hex string)
idintegerrequiredResponse
Returns the signature of the message
Authorization
api-keyAuthapiKey in headereth_signTransaction
eth_signTransaction
Signs a transaction locally with the private key of the specified account.
Body
jsonrpcstringrequiredmethodstringeth_signTransactionrequiredparamsArray<object>requiredArray with a single object representing the transaction to sign.
idintegerrequiredResponse
JSON-RPC response with the signed transaction data
Authorization
api-keyAuthapiKey in headereth_syncing
Check if node is syncing
Body
jsonrpcstringrequiredmethodstringrequiredparamsarrayrequiredMust be an empty array.
idintegerrequiredResponse
Returns sync status object or false
Authorization
api-keyAuthapiKey in headereth_uninstallFilter
Uninstall an existing filter
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>requiredidintegerrequiredResponse
Success or failure of the uninstall operation
Authorization
api-keyAuthapiKey in headernet_listening
net_listening
Checks if the client is listening for network connections.
Body
jsonrpcstringrequiredmethodstringnet_listeningrequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC response with listening status
Authorization
api-keyAuthapiKey in headernet_peerCount
net_peerCount
Returns the number of peers currently connected to the client.
Body
jsonrpcstringrequiredmethodstringnet_peerCountrequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC response with the number of connected peers
Authorization
api-keyAuthapiKey in headernet_version
net_version
Returns the current network ID of the Ethereum client.
Body
jsonrpcstringrequiredmethodstringnet_versionrequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC response with the current network ID
Authorization
api-keyAuthapiKey in headerweb3_clientVersion
web3_clientVersion
Returns the current Ethereum client version.
Body
jsonrpcstringrequiredmethodstringweb3_clientVersionrequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC response with the client version string
Authorization
api-keyAuthapiKey in headerweb3_sha3
web3_sha3
Computes the Keccak-256 (SHA-3) hash of the given hex-encoded data.
Body
jsonrpcstringrequiredmethodstringweb3_sha3requiredparamsArray<string>requiredArray containing a single hex-encoded data string to hash.
idintegerrequiredResponse
JSON-RPC response with the Keccak-256 hash of the input data
Authorization
api-keyAuthapiKey in headerJSON-RPC
chain
Get the hash of the last finalized block
Returns the hash of the block that was finalized on the chain.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredMethod parameters (empty array)
Response
Hash of the last finalized block
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerGet block by hash
Returns full information of a block, including header, extrinsics, and digest.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<string>requiredArray containing block hash to retrieve
Response
Full block details
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerGet block hash by block number
Returns the block hash using the block number in the chain.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<integer>requiredArray containing block number
Response
Block hash by block number
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerpayment
Retrieve fee information for an encoded extrinsic
Returns detailed fee information (weight, partial fee, etc.) for a given encoded extrinsic.
Body
JSON-RPC request containing encoded extrinsic
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<string>requiredArray containing encoded extrinsic(s) to query fee info for
Response
Fee information for the extrinsic
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerstate
Retrieve storage for a given key
Returns the value stored under a specific key at the latest block or a given block.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<string>requiredArray containing storage keys
Response
Returns the value stored at the specified key
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerGet the runtime version
Returns version information about the runtime, including spec version, implementation version, and transaction version.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredNo parameters required
Response
Runtime version information
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerRetrieve runtime metadata
Returns the runtime metadata, which includes information about modules, calls, storage, and events.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredNo parameters required
Response
Runtime metadata in hex format
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerReturns proof of storage entries at a specific block state
Provides a cryptographic proof for the existence and content of storage entries at a given block.
Body
JSON-RPC request parameters
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredList of storage keys for which to generate proof
Response
Proof of storage entries
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerRetrieves the storage hash
Returns the hash of the storage value stored under a specific key.
Body
JSON-RPC request parameters
jsonrpcstringrequiredidstringrequiredmethodstringrequiredparamsArray<any>requiredStorage key(s) to compute hash
Response
Storage hash result
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerRetrieves the storage size
Returns the size in bytes of the storage value under a specific key.
Body
JSON-RPC request parameters
jsonrpcstringrequiredidstringrequiredmethodstringrequiredparamsArray<any>requiredStorage key(s) to measure
Response
Storage size result
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerQuery historical storage entries
Returns the storage changes between two blocks for a set of keys.
Body
JSON-RPC request parameters
jsonrpcstringrequiredidstringrequiredmethodstringrequiredparamsArray<any>requiredList of storage keys and block range
Response
Query storage result
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerQuery storage entries at a specific block
Returns the storage values for given keys at a specified block hash.
Body
JSON-RPC request parameters
jsonrpcstringrequiredidstringrequiredmethodstringrequiredparamsArray<any>requiredList of storage keys and block hash
Response
Storage entries at block
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headersystem
Retrieve the name of the chain
Returns the network name (e.g., Kusama, Polkadot) the node is connected to.
Body
JSON-RPC request to get chain name
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredShould be empty for this method
Response
Chain name
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerRetrieve custom properties from chain spec
Returns chain-specific properties such as token symbol, decimals, and address format.
Body
JSON-RPC request to get system properties
jsonrpcstringrequiredJSON-RPC version
idstringrequiredRequest identifier
methodstringrequiredMethod name
paramsArray<any>requiredShould be empty for this method
Response
System properties of the chain
Malformed address or application ID
Invalid API key
Internal server error
Authorization
api-keyAuthapiKey in headerNODE
chainHeadV1Body
chainHead_v1_body
Fetches the body of a chain head block using two hex parameters.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_bodyrequiredThe RPC method to invoke.
paramsArray<string>requiredArray containing two hex-encoded string parameters: the first is typically a block hash, the second may be a secondary identifier or nonce.
idintegerrequiredRequest identifier.
Response
Successful response with the block body or status.
Authorization
api-keyAuthapiKey in headerchainHeadV1Call
chainHead_v1_call
Calls a runtime method against the state at a specific block identified by two hex hashes.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_callrequiredThe RPC method to invoke.
paramsArray<string>requiredArray containing four positional parameters: - first hex string (e.g., block hash) - second hex string (e.g., a sub-identifier) - method name (e.g., "Core_version") - hex-encoded call data (often "0x" for simple calls)
idintegerrequiredRequest identifier.
Response
Successful response with the result of the runtime call.
Authorization
api-keyAuthapiKey in headerchainHeadV1Continue
chainHead_v1_continue
Continues an active chain head subscription.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_continuerequiredThe RPC method to invoke.
paramsArray<string>requiredArray containing two string parameters: the follow_id (subscription identifier) and the operation_id.
idintegerrequiredRequest identifier.
Response
Successful continuation; no data is returned.
Authorization
api-keyAuthapiKey in headerchainHeadV1Header
chainHead_v1_header
Fetches the header of a chain head block using two hex parameters.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_headerrequiredThe RPC method to invoke.
paramsArray<string>requiredArray containing two hex-encoded string parameters: typically a block hash and a secondary identifier.
idintegerrequiredRequest identifier.
Response
Successful response; typically null when data is not immediately available.
Authorization
api-keyAuthapiKey in headerchainHeadV1StopOperation
chainHead_v1_stopOperation
Stops an active chain head operation.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_stopOperationrequiredThe RPC method to invoke.
paramsArray<string>requiredArray containing two string parameters: the follow_id (subscription identifier) and the operation_id.
idintegerrequiredRequest identifier.
Response
Successful stop; no data is returned.
Authorization
api-keyAuthapiKey in headerchainHeadV1Storage
chainHead_v1_storage
Retrieves storage data for the given block and storage query items.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainHead_v1_storagerequiredThe RPC method to invoke.
paramsArray<string | Array<object>>requiredArray containing three elements: - first element: a hex-encoded string (e.g., block hash) - second element: another hex-encoded string - third element: an array of storage query objects, each
with a key (hex string) and type (e.g., "value").
idintegerrequiredRequest identifier.
Response
Successful response with storage query status.
Authorization
api-keyAuthapiKey in headerchainSpecV1ChainName
chainSpec_v1_chainName
Retrieves the chain name from the chain specification.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainSpec_v1_chainNamerequiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with the chain name.
Authorization
api-keyAuthapiKey in headerchainSpecV1GenesisHash
chainSpec_v1_genesisHash
Retrieves the genesis hash of the chain.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainSpec_v1_genesisHashrequiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with the genesis hash.
Authorization
api-keyAuthapiKey in headerchainSpecV1Properties
chainSpec_v1_properties
Retrieves the properties of the chain specification.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringchainSpec_v1_propertiesrequiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with chain properties.
Authorization
api-keyAuthapiKey in headerdelegateInfoGetDelegate
delegateInfo_getDelegate
Retrieves delegate information for the given public key.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringdelegateInfo_getDelegaterequiredThe RPC method to invoke.
paramsArray<Array<integer>>requiredArray containing a single element: an array of 32 integers representing the delegate's public key bytes.
idintegerrequiredRequest identifier.
Response
Successful response with delegate information.
Authorization
api-keyAuthapiKey in headerdelegateInfoGetDelegated
delegateInfo_getDelegated
Retrieves the total stake delegated to the account identified by the given public key.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringdelegateInfo_getDelegatedrequiredThe RPC method to invoke.
paramsArray<Array<integer>>requiredArray containing a single element: an array of 32 integers representing the delegate's public key bytes.
idintegerrequiredRequest identifier.
Response
Successful response with the amount of delegated stake.
Authorization
api-keyAuthapiKey in headerneuronInfoGetNeuron
neuronInfo_getNeuron
Retrieves neuron information for a given subnet ID and UID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringneuronInfo_getNeuronrequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing two elements: the subnet ID (netuid) and the neuron UID.
idintegerrequiredRequest identifier.
Response
Successful response with neuron information.
Authorization
api-keyAuthapiKey in headerneuronInfoGetNeuronLite
neuronInfo_getNeuronLite
Retrieves lightweight neuron information for a given subnet ID and UID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringneuronInfo_getNeuronLiterequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing two elements: the subnet ID (netuid) and the neuron UID.
idintegerrequiredRequest identifier.
Response
Successful response with lightweight neuron information.
Authorization
api-keyAuthapiKey in headerneuronInfoGetNeurons
neuronInfo_getNeurons
Retrieves the list of neuron UIDs registered in the specified subnet.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringneuronInfo_getNeuronsrequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with the list of neuron UIDs.
Authorization
api-keyAuthapiKey in headersubnetInfoGetAllDynamicInfo
subnetInfo_getAllDynamicInfo
Retrieves all dynamic information for all subnets.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getAllDynamicInforequiredThe RPC method to invoke.
paramsarrayrequiredMethod parameters. An empty array.
idintegerrequiredRequest identifier.
Response
Successful response with all subnet dynamic information.
Authorization
api-keyAuthapiKey in headersubnetInfoGetAllMechagraphs
subnetInfo_getAllMechagraphs
Retrieves all mechagraphs from every subnet.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getAllMechagraphsrequiredThe RPC method to invoke.
paramsarrayrequiredMethod parameters. An empty array.
idintegerrequiredRequest identifier.
Response
Successful response containing mechagraphs for all subnets.
Authorization
api-keyAuthapiKey in headersubnetInfoGetAllMetagraphs
subnetInfo_getAllMetagraphs
Retrieves the complete metagraph for every subnet in the network.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getAllMetagraphsrequiredThe RPC method to invoke.
paramsarrayrequiredMethod parameters. An empty array.
idintegerrequiredRequest identifier.
Response
Successful response with all subnet metagraphs.
Authorization
api-keyAuthapiKey in headersubnetInfoGetColdkeyAutoStakeHotkey
subnetInfo_getColdkeyAutoStakeHotkey
Returns the list of auto-stake hotkeys (or their count) for the given coldkey address and subnet ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getColdkeyAutoStakeHotkeyrequiredThe RPC method to invoke.
paramsarray[object Object][object Object]requiredArray containing two elements: the coldkey SS58 address and the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with the auto-stake hotkey information.
Authorization
api-keyAuthapiKey in headersubnetInfoGetDynamicInfo
subnetInfo_getDynamicInfo
Retrieves dynamic information for a specific subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getDynamicInforequiredThe RPC method to invoke.
paramsArray<integer>requiredMethod parameters containing exactly one element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet dynamic information.
Authorization
api-keyAuthapiKey in headersubnetInfoGetLockCost
subnetInfo_getLockCost
Retrieves the current lock cost (in RAO) for registering a new subnet.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getLockCostrequiredThe RPC method to invoke.
paramsarrayrequiredMethod parameters. An empty array.
idintegerrequiredRequest identifier.
Response
Successful response with the current lock cost.
Authorization
api-keyAuthapiKey in headersubnetInfoGetMechagraph
subnetInfo_getMechagraph
Retrieves the mechagraph for a specific subnet and block/identifier.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getMechagraphrequiredThe RPC method to invoke.
paramsarray[object Object][object Object]requiredArray of two integers: subnet ID and a block/identifier.
idintegerrequiredRequest identifier.
Response
Successful response with mechagraph data.
Authorization
api-keyAuthapiKey in headersubnetInfoGetMetagraph
subnetInfo_getMetagraph
Retrieves the metagraph of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getMetagraphrequiredThe RPC method to invoke.
paramsArray<integer>requiredArray with one element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response containing the subnet metagraph.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSelectiveMechagraph
subnetInfo_getSelectiveMechagraph
Fetches specific mechagraph values for a subnet, block, and a list of indices.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSelectiveMechagraphrequiredThe RPC method to invoke.
paramsArray<integer | Array<integer>>requiredParameters: [subnet_id, block_number, array_of_indices]. - subnet_id (integer) - block_number (integer) – the block or identifier - indices (array of integers) – the mechagraph indices to retrieve
idintegerrequiredRequest identifier.
Response
Successful response with selected mechagraph data.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSelectiveMetagraph
subnetInfo_getSelectiveMetagraph
Fetches selected metagraph values for a specific subnet by providing a list of indices.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSelectiveMetagraphrequiredThe RPC method to invoke.
paramsArray<integer | Array<integer>>requiredParameters: [subnet_id, array_of_indices]. - subnet_id (integer): the target subnet. - indices (array of integers): the metagraph positions to return.
idintegerrequiredRequest identifier.
Response
Successful response with the requested selective metagraph data.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetHyperparams
subnetInfo_getSubnetHyperparams
Retrieves the hyperparameters of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetHyperparamsrequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet hyperparameters.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetHyperparamsV2
subnetInfo_getSubnetHyperparamsV2
Retrieves the V2 hyperparameters of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetHyperparamsV2requiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet hyperparameters (V2).
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetInfoV2
subnetInfo_getSubnetInfo_v2
Retrieves the V2 information fields of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetInfo_v2requiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet information (V2).
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetInfo
subnetInfo_getSubnetInfo
Retrieves all information fields of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetInforequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet information.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetsInfoV2
subnetInfo_getSubnetsInfo_v2
Retrieves the identifiers of all currently registered subnets using the V2 endpoint.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetsInfo_v2requiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with the list of subnet IDs (V2).
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetsInfo
subnetInfo_getSubnetsInfo
Retrieves the identifiers of all currently registered subnets.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetsInforequiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with the list of subnet IDs.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetState
subnetInfo_getSubnetState
Retrieves the current state of a single subnet identified by its ID.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetStaterequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single element: the subnet ID.
idintegerrequiredRequest identifier.
Response
Successful response with subnet state.
Authorization
api-keyAuthapiKey in headersubnetInfoGetSubnetToPrune
subnetInfo_getSubnetToPrune
Retrieves the subnet ID that is next in line for pruning.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringsubnetInfo_getSubnetToPrunerequiredThe RPC method to invoke.
paramsarrayrequiredEmpty array – this method takes no parameters.
idintegerrequiredRequest identifier.
Response
Successful response with the subnet ID to prune.
Authorization
api-keyAuthapiKey in headerswapCurrentAlphaPrice
swap_currentAlphaPrice
Retrieves the current alpha price for the specified swap pool.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringswap_currentAlphaPricerequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing a single integer element (e.g., pool ID).
idintegerrequiredRequest identifier.
Response
Successful response with the current alpha price.
Authorization
api-keyAuthapiKey in headerswapSimSwapAlphaForTao
swap_simSwapAlphaForTao
Simulates swapping Alpha tokens to Tao and returns the resulting output breakdown.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringswap_simSwapAlphaForTaorequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing two integer elements: the pool ID and the amount of Alpha to swap (in RAO or smallest unit).
idintegerrequiredRequest identifier.
Response
Successful response with the simulation result.
Authorization
api-keyAuthapiKey in headerswapSimSwapTaoForAlpha
swap_simSwapTaoForAlpha
Simulates swapping Tao tokens to Alpha and returns the resulting output breakdown.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringswap_simSwapTaoForAlpharequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing two integer elements: the pool ID and the amount of Tao to swap (in RAO, the smallest unit).
idintegerrequiredRequest identifier.
Response
Successful response with the simulation result.
Authorization
api-keyAuthapiKey in header