post https://api.chainbase.online/v1/webhooks
Create webhook to receive message.
Filter
A filter is used to specify a subset of events which you want to receive notifications for.
To create a filter, you can specify a set of entries. Each entry has two properties: field and values. The field property stands for the field name to filter on. The value property is a set of string values (e.g., 0x addresses) to be matched. Within each entry, the values are implicitly ORed. Across entries, the values are implicit ANDed.
For example, the following filter will match both "A" or "B" for the walletAddress
field and "x" for the contractAddress
field.
[
{
"field": "walletAddress",
"values": ["A", "B"]
},
{
"field": "contractAddress",
"values": ["x"]
}
]
DataSource
Currently we support following datasources:
Network | DataSource |
---|---|
ethereum | ethereum_blocks ethereum_contracts ethereum_erc20_transfer ethereum_transactions ethereum_logs ethereum_traces |
optimism | optimism_blocks optimism_contracts optimism_erc20_transfer optimism_transactions optimism_logs optimism_traces |
bsc | bsc_blocks bsc_contracts bsc_erc20_transfer bsc_transactions bsc_logs bsc_traces |
polygon | polygon_blocks polygon_contracts polygon_erc20_transfer polygon_transactions polygon_logs polygon_traces |
avalanche | avalanche_blocks avalanche_contracts avalanche_erc20_transfer avalanche_transactions avalanche_logs avalanche_traces |
arbitrum | arbitrum_blocks arbitrum_contracts arbitrum_erc20_transfer arbitrum_transactions arbitrum_logs arbitrum_traces |
base | base_blocks base_contracts base_erc20_transfer base_transactions base_logs base_traces |
zksync | zksync_blocks zksync_contracts zksync_erc20_transfer zksync_transactions zksync_logs zksync_traces |