Lewati ke konten

Ethereum RPC dan Data API

EVM-compatible

Endpoint

JSON-RPC (Kunci di jalur)
https://api.blockvectra.com/v1/eth_mainnet/{api_key}
JSON-RPC (header: x-api-key)
https://api.blockvectra.com/v1/eth_mainnet
x-api-key: {api_key}
Data API
https://api.blockvectra.com/v1/data/eth_mainnet
x-api-key: {api_key}

Contoh cepat

curl -X POST https://api.blockvectra.com/v1/eth_mainnet \
  -H "Content-Type: application/json" \
  -H "x-api-key: {api_key}" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Fakta rantai

Chain ID1

Batas

Jendela riwayat statusStatus historis untuk 250000 blok terbaru
Rentang blok maksimum eth_getLogs1000 blok
Kebijakan metode
Izinkan: debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction, eth_blobBaseFee, eth_blockNumber, eth_call, eth_chainId, eth_createAccessList, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_syncing, net_version, trace_block, trace_call, trace_get, trace_replayTransaction, trace_transaction, web3_clientVersion, web3_sha3
Tolak: eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterLogs, eth_getFilterChanges, eth_uninstallFilter, eth_subscribe, eth_unsubscribe

Data API

Periksa kesegaran data rantai

curl -s "https://api.blockvectra.com/v1/data/eth_mainnet/status/freshness" -H "x-api-key: {api_key}"

Lihat panduan kumpulan data →(bahasa Inggris)

Lihat dokumentasi Data API →(bahasa Inggris)

Status

Harga

Dapatkan 30,000,000 CU saat mendaftar, diisi ulang setiap 30 hari (saldo dan batas laju digabungkan di seluruh rantai; tidak memerlukan kartu kredit); harga per satu juta panggilan: eth_blockNumber $0.10, eth_call $1.50, eth_getLogs $3.00.

Lihat paket harga →

Lihat paket gratis dan harga →