Filtering
v1.events
Subscribes to blockchain log events.
v1.transactions
Subscribes to blockchain transactions.
You can filter webhook notifications based on specific criteria.
Each webhook must have either an events filter or a transactions filter (or both).
You can specify partial ABIs to have decoded data sent in the webhook payload. For this you also need to give the sig_hash
of the event or function call.
The following example will filter for Transfer
events on Ethereum for the contract 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
And this example will filter for Approve
function calls on Ethereum for the contract 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
params
on the signatures
object will allow you to filter based on the decoded data. Only strict equality is supported at the moment.
- You can specify ABIs to receive decoded event/transaction data
- Parameter filtering supports equality matching only
- At least one filter criteria must be specified