EVM chains

Here we give a few real examples for how to submit metrics from EVM chains. Make sure you briefly read our SDK Guide to get a general idea about how it work.

We use standard chain ID as mentioned here. You only need to put the network parameter when you bind the processor. Here is an example we bind Goerli instead of ETH mainnet.

ERC20Processor.bind({ address: '0x1e4ede388cbc9f4b5c79681b7f94d36a11abebc9', 
network: CHAIN_IDS.GOERLI })
  .onEventTransfer((event, ctx) => {
    ...
  }
)

See the video tutorial below:

Last updated