इसे छोड़कर कंटेंट पर जाएं

JSON-RPC

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

https://rpc.testnet.16ane.net is an archive node: state and traces are available for every block since genesis. It accepts JSON-RPC over HTTPS POST (single calls or batches), and CORS allows any origin.

Namespace Notes
eth, net, web3 Standard Ethereum JSON-RPC
debug debug_traceTransaction, debug_traceBlockByNumber, debug_traceCall (with tracers such as callTracer)
trace trace_block, trace_transaction, trace_filter (up to 100 blocks), trace_call
ots Otterscan API level 8: ots_getBlockDetails, ots_traceTransaction, ots_getInternalOperations, …
txpool txpool_status, txpool_content

Not available: ots_searchTransactionsBefore and ots_searchTransactionsAfter (Reth doesn’t implement them). For an address’s history use the Indexer API. There is no admin namespace and no WebSocket endpoint yet.

Limit Value
Concurrent traces 4
Gas cap for eth_call, eth_estimateGas and call traces 30,000,000
Logs per response 10,000
Blocks per filter (eth_getLogs) 10,000
trace_filter range 100 blocks
Response size 50 MB
Terminal window
# What a transaction did, as a call tree
curl -sS https://rpc.testnet.16ane.net -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"debug_traceTransaction","params":["0x6254ab1625295aadc2120ad78576d7bd80f16d08a9b773e77c30d709bc344c14",{"tracer":"callTracer"}],"id":1}'
# Several calls in one request
curl -sS https://rpc.testnet.16ane.net -H 'content-type: application/json' \
-d '[{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]},
{"jsonrpc":"2.0","id":2,"method":"eth_getBlockByNumber","params":["finalized",false]}]'