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.