I have 2 events and only have 1 webhook.
in my server… I always catch both of them and returns the ABI of two events
{
“confirmed”: true,
“chainId”: “0x61”,
“abi”: [
{
“anonymous”: false,
“inputs”: [
{
“indexed”: false,
“internalType”: “bytes32”,
“name”: “id”,
“type”: “bytes32”
},
{
“indexed”: true,
“internalType”: “uint256”,
“name”: “assetId”,
“type”: “uint256”
},
{
“indexed”: true,
“internalType”: “address”,
“name”: “seller”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “address”,
“name”: “nftAddress”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “priceInWei”,
“type”: “uint256”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “expiresAt”,
“type”: “uint256”
}
],
“name”: “OrderCreated”,
“type”: “event”
},
{
“anonymous”: false,
“inputs”: [
{
“indexed”: false,
“internalType”: “bytes32”,
“name”: “id”,
“type”: “bytes32”
},
{
“indexed”: true,
“internalType”: “uint256”,
“name”: “assetId”,
“type”: “uint256”
},
{
“indexed”: true,
“internalType”: “address”,
“name”: “seller”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “address”,
“name”: “nftAddress”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “totalPrice”,
“type”: “uint256”
},
{
“indexed”: true,
“internalType”: “address”,
“name”: “buyer”,
“type”: “address”
}
],
“name”: “OrderSuccessful”,
“type”: “event”
}
],
“streamId”: “xxxx-xxxx-xxx-xxxxx”,
“tag”: “testnet”,
“retries”: 0,
“block”: {
“number”: “37565591”,
“hash”: “xxxxxxx”,
“timestamp”: “1707407073”
},
“logs”: [],
“txs”: [
{
“hash”: “xxxx”,
“gas”: “139693”,
“gasPrice”: “10000025000”,
“nonce”: “78”,
“input”: “xxxxxx”,
“transactionIndex”: “0”,
“fromAddress”: “xxxx”,
“toAddress”: “xxxx”,
“value”: “0”,
“type”: “2”,
“v”: “1”,
“r”: “xxxxx”,
“s”: “xxxxx”,
“receiptCumulativeGasUsed”: “111755”,
“receiptGasUsed”: “111755”,
“receiptContractAddress”: null,
“receiptRoot”: null,
“receiptStatus”: “1”
}
],
“txsInternal”: [],
“erc20Transfers”: [],
“erc20Approvals”: [],
“nftTokenApprovals”: [],
“nftApprovals”: {
“ERC721”: [],
“ERC1155”: []
},
“nftTransfers”: [],
“nativeBalances”: []
}