Stable

📘

See the Stable RPC API connection guide.

eth

MethodNotesCompute Unit Value
eth_blockNumberReturns the current block height.1
eth_callExecutes a new message call without creating a transaction on the blockchain.10
eth_chainIdReturns the chain's identifier in hexadecimal format.1
eth_estimateGasEstimates the gas required to send the transaction.50
eth_feeHistoryReturns historical gas information for the specified range of blocks.1
eth_gasPriceReturns the current gas price in ETH.5
eth_getBalanceReturns the balance of a given account address at a specified block number.5
eth_getBlockByHashReturns block information given its hash, including a boolean indicating success.5
eth_getBlockByNumberReturns information about a block by its block number.5
eth_getBlockTransactionCountByHashReturns the total transaction count for a specified block hash.5
eth_getBlockTransactionCountByNumberReturns the total transaction count for a specified block number.5
eth_getCodeReturns the code at a given account address at a specific block number.5
eth_getFilterChangesReturns filter changes since the last poll.5
eth_getFilterLogsReturns all logs matching a given filter ID.5
eth_getLogsReturns an array of logs matching a specified filter object.50
eth_getProofReturns account and storage values, including Merkle proofs.5
eth_getStorageAtReturns the storage address for a given account address at a specific block.5
eth_getTransactionByBlockHashAndIndexReturns transaction details based on block hash and transaction index.5
eth_getTransactionByBlockNumberAndIndexReturns transaction details by block height and block index.5
eth_getTransactionByHashReturns details of a transaction from its hash.5
eth_getTransactionCountReturns the total transaction count for a given account address and block number.10
eth_getTransactionReceiptReturns the receipt of a transaction given its hash.5
eth_getUncleByBlockHashAndIndexAlways returns empty.5
eth_getUncleByBlockNumberAndIndexAlways returns empty.5
eth_getUncleCountByBlockHashAlways returns empty.5
eth_getUncleCountByBlockNumberAlways returns empty.5
eth_maxPriorityFeePerGasReturns the current maxPriorityFeePerGas per EIP-1559 rules.1
eth_newBlockFilterCreates a filter to notify when a new block arrives.5
eth_newFilterCreates a new filter using specific topics.5
eth_sendRawTransactionCreates a new message, call transaction, or contract creation for signed transactions.100
eth_subscribeSubscribes to events via JSON-RPC notifications.1
eth_syncingReturns an object with the sync status or false if not syncing.1
eth_uninstallFilterUninstalls a filter with the given filter ID.5
eth_unsubscribeUnsubscribes from an event using the provided subscription ID.1

net

MethodNotesCompute Unit Value
net_peerCountReturns the number of peers currently connected to the client.1
net_versionReturns the current network id.1

web3

MethodNotesCompute Unit Value
web3_clientVersionReturns the Web3 client version.1
web3_sha3Returns keccak-256 (not the standardized SHA3-256) of the given data.1

debug

🚧

These methods can only be used if the request parameters contain tracer: callTracer.

MethodNotesCompute Unit Value
debug_traceBlockTrace all transactions within a block using a given tracer.50
debug_traceBlockByHashExecutes all transactions in a block specified by its hash, using a tracer.50
debug_traceBlockByNumberExecutes all transactions in a block specified by its number, using a tracer (trace mode required).50
debug_traceTransactionReturns all traces associated with a given transaction.50

Additional Supported Methods

🚧

Compute unit values pending

The following methods are supported but do not yet have a dedicated compute unit value assigned for Stable Chain. Until that is configured, requests to these methods are billed at the platform default of 1 compute unit.

MethodNotes
eth_simulateV1Simulates a set of calls against a block state.
debug_dumpBlockRetrieves the state of all accounts at a specified block.
txpool_contentReturns all pending and queued transactions in the pool.
txpool_inspectReturns a summarized list of pending and queued transactions.
txpool_statusReturns the number of pending and queued transactions in the pool.
trace_blockReturns traces for all transactions in the specified block.
trace_filterReturns traces matching the specified filter criteria.
trace_replayBlockTransactionsReplays all transactions in a block and returns their traces.
trace_replayTransactionReplays a transaction and returns its trace.
trace_transactionReturns traces for a specific transaction.
parity_allTransactionsReturns all transactions currently in the transaction pool.
parity_getBlockHeaderByNumberReturns the block header for the given block number.
parity_pendingTransactionsReturns a list of pending transactions.
parity_pendingTransactionsStatsReturns statistics for pending transactions.