Avalanche API

Avalanche C-Chain 端点通过 HTTPS 与 WSS 提供 EVM JSON-RPC Core API。

Endpoint

ItemValue
NetworkAvalanche C-Chain Mainnet
ProtocolEVM JSON-RPC 2.0
Chain ID43114 (0xa86a)
Public HTTPShttps://avalanche-rpc.blockreq.com/v1/rpc/public
Private HTTPShttps://avalanche-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000
Public WSSwss://avalanche-rpc.blockreq.com/v1/rpc/public
Private WSSwss://avalanche-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000

这些 URL 使用产品路径 /v1/rpc 加上 /public 或 BRQ1P0000000000000000000000000000000000000000000000000000000。

Core Methods

Avalanche C-Chain 复用共享的 EVM JSON-RPC 方法表。

CapabilityMethods
Latest stateeth_chainId, eth_blockNumber, eth_call, eth_getBalance
Archive旧区块 state reads
Logseth_getLogs, eth_newFilter, eth_getFilterChanges

Archive 调用可能需要私有端点。BlockReq 目前不提供 Avalanche C-Chain 上 eth_getProof、debug_* 和 trace_* 的文档,也不保证其可用。