BNB Smart Chain RPC および Data API
EVM-compatible
エンドポイント
JSON-RPC(パス指定キー)
https://api.blockvectra.com/v1/bsc_mainnet/{api_key}JSON-RPC(ヘッダー指定:x-api-key)
https://api.blockvectra.com/v1/bsc_mainnetx-api-key: {api_key}Data API
https://api.blockvectra.com/v1/data/bsc_mainnetx-api-key: {api_key}クイックサンプル
curl -X POST https://api.blockvectra.com/v1/bsc_mainnet \
-H "Content-Type: application/json" \
-H "x-api-key: {api_key}" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'チェーン仕様
| Chain ID | 56 |
|---|
制限事項
| 状態履歴ウィンドウ | 直近 990000 ブロックの過去状態 |
|---|---|
| eth_getLogs 最大ブロック範囲 | 1000 ブロック |
| メソッドポリシー | 許可: eth_blockNumber, eth_call, eth_chainId, 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, web3_clientVersion拒否: eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterLogs, eth_getFilterChanges, eth_uninstallFilter, eth_subscribe, eth_unsubscribe |
Data API
チェーンのデータ鮮度を確認
curl -s "https://api.blockvectra.com/v1/data/bsc_mainnet/status/freshness" -H "x-api-key: {api_key}"稼働状況
料金体系
新規登録時に 30,000,000 CU の無料枠が付与され、30 日ごとに自動補充されます(残高とレート制限は全チェーンで共有、クレジットカード不要)。メソッド別公開価格(百万回あたり):eth_blockNumber $0.10、eth_call $1.50、eth_getLogs $3.00。