JSON-RPC

JSON-RPC メソッド

BlockVectra が対応する Ethereum JSON-RPC メソッド、概要、Compute Unit (CU) 重み付け。

BlockVectra は、対応するブロックチェーンネットワークで標準の Ethereum JSON-RPC 2.0 メソッドを提供します。リクエストは Compute Units (CU) で利用量を計測し、キーごとにレート制限を適用します。

以下のメソッドを選ぶと、パラメータ、戻り値の構造、注意事項、curl リクエスト例、チェーンごとの利用可否を確認できます。

メソッド

メソッド概要CU / 呼び出し
eth_blockNumber EnglishReturn the number of the latest block known to the node.1 CU
eth_chainId EnglishReturn the EIP-155 chain ID of the current network.1 CU
eth_syncing EnglishReturn the node's syncing status.10 CU
net_version EnglishReturn the network ID of the current network as a decimal string.10 CU
web3_clientVersion EnglishReturn the client name and version string of the node.10 CU
eth_gasPrice EnglishReturn the node's suggested current gas price in wei.10 CU
eth_maxPriorityFeePerGas EnglishReturn the node's suggested EIP-1559 priority fee (tip) per gas, in wei.10 CU
eth_feeHistory EnglishReturn historical base fees, gas usage ratios and optional priority-fee percentiles over a range of blocks.10 CU
eth_estimateGas EnglishEstimate the gas limit a transaction would need.20 CU
eth_call EnglishExecute a read-only call against the state of a given block and return its result.15 CU
eth_simulateV1 EnglishSimulate a sequence of calls or transactions against block state without broadcasting.20 CU
eth_getBalance EnglishReturn the balance of an address at a given block, in wei.10 CU
eth_getCode EnglishReturn the contract bytecode deployed at an address at a given block.10 CU
eth_getStorageAt EnglishReturn the raw value stored at a given storage slot of an address.10 CU
eth_getTransactionCount EnglishReturn the number of transactions sent from an address (its nonce) at a given block.10 CU
eth_getLogs EnglishQuery event logs within a block range that match a filter.30 CU
eth_getBlockByNumber EnglishReturn a block by its number, optionally with full transaction objects.5 CU
eth_getBlockByHash EnglishReturn a block by its hash, optionally with full transaction objects.10 CU
eth_getBlockReceipts EnglishReturn all transaction receipts for a given block.10 CU
eth_getTransactionByHash EnglishReturn a transaction by its hash.10 CU
eth_getTransactionReceipt EnglishReturn the receipt (execution result) of a transaction by its hash.10 CU
eth_sendRawTransaction EnglishSubmit a signed raw transaction.30 CU
debug_traceTransaction EnglishReconstruct and replay the execution of a transaction to produce an execution trace.100 CU
debug_traceCall EnglishRun an eth_call on top of a given block state and generate an execution trace.100 CU
trace_transaction EnglishReturn all traces produced during the execution of a transaction.100 CU

関連リファレンス

最終更新:

このページの目次