BlockBook API
v1.0.0https://avax-blockbook.nownodes.iohttps://avax.nownodes.io/ext/bc/C/rpchttps://avax.nownodes.iohttps://avax.nownodes.io/ext/index/{chain}/{container}https://avax.nownodes.io/ext/bc/Phttps://avax.nownodes.io/ext/bc/Xhttps://avax.nownodes.io/ext/bc/X/walletAuthentication
api-keyAuthapiKeyAPI Key: api-key in header
MAINNET / Blockbook
BlockBook
Get Blockbook backend info
Returns general metadata and status about the Blockbook service and its connected backend node.
Response
Successfully retrieved Blockbook info
Internal error
Authorization
api-keyAuthapiKey in headerGet block hash by block height
Returns the block hash corresponding to the specified block height.
Parameters
heightinteger>= 0requiredpathThe height of the block (e.g., 800000)
Response
Successfully retrieved block hash
Block not found at given height
Internal server error
Authorization
api-keyAuthapiKey in headerGet specific transaction details
Returns full decoded transaction data for a given transaction ID.
Parameters
txidstringrequiredpathTransaction ID (txid) to look up
Response
Successful response with transaction details
Transaction not found
Internal server error
Authorization
api-keyAuthapiKey in headerGet address information
Returns detailed information about a Bitcoin address such as balance, total received and sent, unconfirmed transactions, list of txids, and more. Supports pagination and filtering by block height and details.
Parameters
addressstringrequiredpathBitcoin address to query.
pageinteger1queryPage number for pagination (default is 1).
pageSizeinteger1000queryNumber of items per page (default 1000).
fromintegerqueryStarting block height to filter transactions (optional).
tointegerqueryEnding block height to filter transactions (optional).
detailsstringbasictokenstokenBalancestxidstxsqueryLevel of transaction detail to return. Options:
- basic: Basic transaction info.
- tokens: Include token info.
- tokenBalances: Include token balances.
- txids: Return only transaction IDs.
- txs: Return full transaction details.
contractstringqueryFilter by contract address (optional).
secondarystringqueryInclude secondary currency balances (e.g., USD).
Response
Successful response with address details
Invalid address or bad request
Address not found
Internal server error
Authorization
api-keyAuthapiKey in headerGet XPUB or descriptor details
Retrieves detailed information about an XPUB or descriptor including confirmed balance, total received and sent amounts, unconfirmed balances, transaction counts, tokens used, and paginated transaction IDs.
Parameters
xpubOrDescriptorstringrequiredpathXPUB or descriptor to query.
pageinteger1queryPage number for pagination (default is 1).
pageSizeinteger1000queryNumber of items per page (default 1000).
fromintegerqueryStarting block height to filter transactions (optional).
tointegerqueryEnding block height to filter transactions (optional).
detailsstringbasictokenstokenBalancestxidstxsqueryLevel of transaction detail to return. Options:
- basic: Basic transaction info.
- tokens: Include token info.
- tokenBalances: Include token balances.
- txids: Return only transaction IDs.
- txs: Return full transaction details.
tokensstringnonzerousedderivedqueryFilter tokens by usage type:
- nonzero: Tokens with non-zero balances.
- used: Tokens that have been used.
- derived: Tokens derived from this XPUB.
secondarystringqueryInclude secondary currency balances (e.g., EUR).
Response
Successful response with XPUB details
Invalid XPUB or bad request
XPUB not found
Internal server error
Authorization
api-keyAuthapiKey in headerGet UTXOs for address, XPUB or descriptor
Retrieves the unspent transaction outputs (UTXOs) associated with a specific address, XPUB, or descriptor. Optionally filter only confirmed UTXOs by using the confirmed query parameter.
Parameters
addressOrXpubOrDescriptorstringrequiredpathAddress, XPUB or descriptor to query UTXOs for.
confirmedbooleanfalsequeryIf true, only return confirmed UTXOs. Defaults to false (returns both confirmed and unconfirmed).
Response
List of UTXOs for the given address, XPUB, or descriptor
Invalid address or parameter error
No UTXOs found for the specified input
Internal server error
Authorization
api-keyAuthapiKey in headerGet block details by height or hash
Returns detailed information about a block specified by its height or hash.
Parameters
blockHeightOrHashstringrequiredpathBlock height (integer) or block hash (string) to identify the block.
Response
Block details response
Invalid block height or hash format
Block not found
Internal server error
Authorization
api-keyAuthapiKey in headerBroadcast raw transaction
Sends a raw transaction to the blockchain network. The transaction must be provided as a hex-encoded string in the URL path.
Parameters
hexTxDatastringrequiredpathHex-encoded raw transaction data to be broadcasted.
Response
Transaction broadcast successful
Invalid transaction hex data
Internal server error
Authorization
api-keyAuthapiKey in headerGet list of tickers updated since timestamp
Returns an array of ticker objects representing cryptocurrency prices updated since the specified UNIX timestamp (in seconds).
Parameters
timestampintegerqueryUNIX timestamp (in seconds). Only tickers updated after this time are returned.
Response
List of tickers
Invalid timestamp parameter
Internal server error
Authorization
api-keyAuthapiKey in headerGet balance history for an address or XPUB
Returns the balance history for the specified address or XPUB between the from and to date parameters. The balances can be optionally converted to a specified fiat currency and grouped by time intervals.
Parameters
accountstringrequiredpathXPUB or address to query balance history for
fromstring<date-time>requiredqueryStart date (ISO 8601 format, e.g. 2023-01-01T00:00:00Z)
tostring<date-time>requiredqueryEnd date (ISO 8601 format, e.g. 2023-01-10T00:00:00Z)
fiatcurrencystringqueryFiat currency code to convert balances (e.g., USD, EUR). Optional.
groupByintegerqueryGroup results by time interval in seconds (e.g., 86400 for daily). Optional.
Response
Balance history retrieved successfully
Invalid or missing parameters
Internal server error
Authorization
api-keyAuthapiKey in headerMAINNET / C-Chain
C-Chain
avalanche.getAtomicTx
Get an atomic transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavalanche.getAtomicTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravalanche.getUTXOs
Get atomic UTXOs available to the C-Chain.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavalanche.getUTXOsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravalanche.issueTx
Issue an atomic transaction to the C-Chain.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavalanche.issueTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_accounts
Return addresses owned by the client.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_accountsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_baseFee
Return the current C-Chain base fee.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_baseFeerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_blockNumber
Return the latest block number.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_blockNumberrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_call
Execute a call without creating a transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_callrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_chainId
Return the C-Chain ID.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_chainIdrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_coinbase
Return the client coinbase address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_coinbaserequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_estimateGas
Estimate the gas required for a transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_estimateGasrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_feeHistory
Return historical fee information.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_feeHistoryrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_gasPrice
Return the current gas price.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_gasPricerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getAssetBalance
Return the balance of an Avalanche native asset held by an EVM address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getAssetBalancerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getBalance
Return the balance of an address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getBalancerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getBlockByHash
Return a block by hash.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getBlockByHashrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getBlockByNumber
Return a block by number.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getBlockByNumberrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getBlockTransactionCountByHash
Return the number of transactions in a block by hash.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getBlockTransactionCountByHashrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getBlockTransactionCountByNumber
Return the number of transactions in a block by number.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getBlockTransactionCountByNumberrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getCode
Return contract bytecode.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getCoderequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getFilterChanges
Return changes since the last filter poll.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getFilterChangesrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getFilterLogs
Return all logs matching a filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getFilterLogsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getLogs
Return logs matching a filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getLogsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getStorageAt
Return a storage value from a contract.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getStorageAtrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getTransactionByBlockHashAndIndex
Return a transaction by block hash and index.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getTransactionByBlockHashAndIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getTransactionByBlockNumberAndIndex
Return a transaction by block number and index.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getTransactionByBlockNumberAndIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getTransactionByHash
Return a transaction by hash.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getTransactionByHashrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getTransactionCount
Return the transaction count for an address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getTransactionCountrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getTransactionReceipt
Return a transaction receipt.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getTransactionReceiptrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getUncleByBlockHashAndIndex
Return an uncle block by block hash and index.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getUncleByBlockHashAndIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getUncleByBlockNumberAndIndex
Return an uncle block by block number and index.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getUncleByBlockNumberAndIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getUncleCountByBlockHash
Return the uncle count by block hash.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getUncleCountByBlockHashrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_getUncleCountByBlockNumber
Return the uncle count by block number.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_getUncleCountByBlockNumberrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_hashrate
Return hashes per second.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_hashraterequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_maxPriorityFeePerGas
Return a suggested priority fee per gas.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_maxPriorityFeePerGasrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_mining
Return whether the client is mining.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_miningrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_newBlockFilter
Create a block filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_newBlockFilterrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_newFilter
Create a log filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_newFilterrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_newPendingTransactionFilter
Create a pending transaction filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_newPendingTransactionFilterrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_protocolVersion
Return the Ethereum protocol version.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_protocolVersionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_sendRawTransaction
Broadcast a signed raw transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_sendRawTransactionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_sendTransaction
Create, sign, and broadcast a transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_sendTransactionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_sign
Sign data using an account managed by the client.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_signrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_signTransaction
Sign a transaction without broadcasting it.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_signTransactionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_syncing
Return sync status or sync progress.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_syncingrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headereth_uninstallFilter
Uninstall a filter.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringeth_uninstallFilterrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headernet_listening
Return whether the client is actively listening for network connections.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringnet_listeningrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headernet_peerCount
Return the number of connected peers.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringnet_peerCountrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headernet_version
Return the network ID.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringnet_versionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerweb3_clientVersion
Return the node client version.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringweb3_clientVersionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerweb3_sha3
Return the Keccak-256 hash of the supplied data.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringweb3_sha3requiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerMAINNET / EVM
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_coinbase
eth_coinbase
Returns the Ethereum coinbase address (i.e., the address that receives mining rewards).
Body
jsonrpcstringrequiredmethodstringeth_coinbaserequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC Response with the coinbase address
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_feeHistory
eth_feeHistory
Returns fee market information for a range of blocks. This is typically used by wallets and other tools to estimate appropriate gas prices.
Body
jsonrpcstringrequiredmethodstringrequiredparamsArray<string | integer | Array<number>>requiredParameters:
blockCount— number of blocks in the requested range.newestBlock— highest block number in the requested range (can be "latest").rewardPercentiles— list of percentile values to sample priority fees from each block (optional).
idintegerrequiredResponse
JSON-RPC Response with fee history data
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 | 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 | boolean>requiredArray with 2 parameters:
- Block hash (32-byte hex string with '0x' prefix)
- Boolean to specify if full transaction objects are returned (
true) or only transaction hashes (false)
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 | boolean>requiredArray with 2 parameters:
- Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending")
- Boolean to specify if full transaction objects are returned (
true) or only transaction hashes (false)
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_hashrate
eth_hashrate
Returns the current mining hashrate reported by the client.
Body
jsonrpcstringrequiredmethodstringeth_hashraterequiredparamsarrayrequiredThis method takes no parameters.
idintegerrequiredResponse
JSON-RPC response with the current mining hashrate
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_mining
eth_mining
Checks whether the Ethereum client is actively mining.
Body
jsonrpcstringrequiredmethodstringeth_miningrequiredparamsarrayrequiredThis method does not accept parameters.
idintegerrequiredResponse
JSON-RPC Response indicating mining status
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 headerMAINNET / Index
Index
index.getContainerByID
Get an indexed container by ID.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringindex.getContainerByIDrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerindex.getContainerByIndex
Get an indexed container by its index.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringindex.getContainerByIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerindex.getContainerRange
Get a range of indexed containers.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringindex.getContainerRangerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerindex.getIndex
Get the index assigned to a container.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringindex.getIndexrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerindex.getLastAccepted
Get the last accepted indexed container.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringindex.getLastAcceptedrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerMAINNET / P-Chain
P-Chain
platform.getAllValidatorsAt
Get validators for all subnets at a P-Chain height.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getAllValidatorsAtrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getBalance
Get the balance of AVAX controlled by the specified addresses.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getBalancerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getBlock
Get a P-Chain block by its ID.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getBlockrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getBlockByHeight
Get a P-Chain block by height.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getBlockByHeightrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getBlockchains
Get the blockchains that exist on the Avalanche network.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getBlockchainsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getCurrentSupply
Get the current supply of the staking asset for a subnet.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getCurrentSupplyrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getCurrentValidators
Get the current validators of a subnet or the Primary Network.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getCurrentValidatorsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getFeeConfig
Return the P-Chain dynamic fee configuration.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getFeeConfigrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getFeeState
Return the current P-Chain fee state.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getFeeStaterequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getHeight
Get the height of the last accepted P-Chain block.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getHeightrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getL1Validator
Get information about an L1 validator.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getL1ValidatorrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getMaxStakeAmount
Get the maximum amount that may be staked on a validator during a time range.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getMaxStakeAmountrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getMinStake
Get the minimum validator and delegator stake amounts.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getMinStakerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getPendingValidators
Get pending validators and delegators.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getPendingValidatorsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getProposedHeight
Get the P-Chain height proposed by the ProposerVM.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getProposedHeightrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getRewardUTXOs
Get UTXOs rewarded after a staking or delegation period ended.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getRewardUTXOsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getStake
Get the amount staked by the specified addresses.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getStakerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getStakingAssetID
Get the staking asset ID for a subnet.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getStakingAssetIDrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getSubnet
Get information about a subnet.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getSubnetrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getSubnets
Get information about subnets.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getSubnetsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getTimestamp
Get the current P-Chain timestamp.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getTimestamprequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getTotalStake
Get the total stake on a subnet.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getTotalStakerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getTx
Get a P-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getTxStatus
Get the status of a P-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getTxStatusrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getUTXOs
Get UTXOs controlled by the specified P-Chain addresses.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getUTXOsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getValidatorFeeConfig
Return the validator fee configuration.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getValidatorFeeConfigrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getValidatorFeeState
Return the current validator fee state.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getValidatorFeeStaterequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.getValidatorsAt
Get validators and weights at a P-Chain height.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.getValidatorsAtrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.issueTx
Issue a signed P-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.issueTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.validatedBy
Get the subnet that validates a blockchain.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.validatedByrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerplatform.validates
Get blockchains validated by a subnet.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringplatform.validatesrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerMAINNET / X-Chain
X-Chain
avm.getAllBalances
Get balances of all assets controlled by an address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getAllBalancesrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getAssetDescription
Get information about an X-Chain asset.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getAssetDescriptionrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getBalance
Get an asset balance controlled by an address.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getBalancerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getBlock
Get an X-Chain block by ID.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getBlockrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getBlockByHeight
Get an X-Chain block by height.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getBlockByHeightrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getHeight
Get the height of the last accepted X-Chain block.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getHeightrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getTx
Get an X-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getTxFee
Get X-Chain network fees.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getTxFeerequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getTxStatus
Get the status of an X-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getTxStatusrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.getUTXOs
Get UTXOs controlled by X-Chain addresses.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.getUTXOsrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headeravm.issueTx
Issue a signed X-Chain transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringavm.issueTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in headerwallet.issueTx
Issue a signed transaction.
Body
jsonrpcstring2.0requiredidinteger | stringrequiredmethodstringwallet.issueTxrequiredparamsobjectrequiredResponse
Successful JSON-RPC response
Invalid JSON-RPC request
Missing or invalid API key
Rate limit exceeded
Node or upstream error
Authorization
api-keyAuthapiKey in header