English version: /en/doc/rpc/state.html
State Methods
TL;DR
eth_getBalance,eth_getTransactionCount,eth_getCode,eth_getStorageAtを提供。- blockTag は
latest/pending/safe/finalized/earliest/QUANTITYを受理するが、historical は多くが制約付き。
メソッド
eth_getBalance->rpc_eth_get_balanceeth_getTransactionCount->rpc_eth_get_transaction_count_ateth_getCode->rpc_eth_get_codeeth_getStorageAt->rpc_eth_get_storage_at
主な制約
- balance/code/storage:
QUANTITY==head以外の historical はstate unavailable/ out-of-window になり得る - tx count:
pendingは pending nonce を返す。earliest/ 過去nonce は現状未提供
詳細は ../compatibility/json-rpc-deviations.md と ./overview.md を参照。
根拠
tools/rpc-gateway/src/handlers.tscrates/ic-evm-rpc/src/lib.rstools/rpc-gateway/README.md