Skip to main content

EVM events

Real-time event stream for EVM networks. Subscribe by address and receive new blocks and address activity as soon as each block is finalized.

wss://api.chaingate.dev/evm/{network}/events?api_key=YOUR_API_KEY

Supported networks

Network{network}
Ethereumethereum
Avalancheavalanche

Channels

ChannelAddress?FlagsWhat you receive
blocksNofullNew block summaries — or full blocks with full: true.
balanceYespendingConfirmed balance — or the pending delta with pending: true.
historyYespendingConfirmed transaction activity — or pending txs with pending: true.
contract_interactionsYesNew contracts an address interacts with.
mempoolNoEvery pending transaction, as it is seen. (Optional.)

Subscribe

Pass a normal 0x address:

{ "action": "subscribe", "channel": "balance", "address": "0xa1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0" }
{ "action": "subscribe", "channel": "balance", "address": "0xa1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0", "pending": true }
{ "action": "subscribe", "channel": "blocks" }
Data types
  • Addresses are 0x-prefixed lowercase hex.
  • Balances are returned in wei as a decimal string — wei values regularly exceed JSON's safe integer range, so they are never sent as numbers.
  • Block numbers in the summary events (block, balance, history, …) are JSON integers. The full block stream (full: true) is different: its fields are 0x-hex quantities, exactly as the chain returns them.