curl --request POST \
--url https://api.example.com/api/webhooks/v1/ChainExplorer/ContractChanged \
--header 'Content-Type: application/json' \
--data '
{
"confirmed": true,
"chainId": "<string>",
"abi": [
"<unknown>"
],
"streamId": "<string>",
"tag": "<string>",
"retries": 123,
"block": {
"number": "<string>",
"hash": "<string>",
"timestamp": "<string>"
},
"logs": [
{
"logIndex": "<string>",
"transactionHash": "<string>",
"address": "<string>",
"data": "<string>",
"topic0": "<string>",
"topic1": "<string>",
"topic2": "<string>",
"topic3": "<string>",
"triggered_by": [
"<string>"
]
}
],
"txs": [
{
"hash": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"nonce": "<string>",
"input": "<string>",
"transactionIndex": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"value": "<string>",
"type": "<string>",
"v": "<string>",
"r": "<string>",
"s": "<string>",
"receiptStatus": "<string>",
"triggered_by": [
"<string>"
]
}
],
"erc20Transfers": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>",
"tokenDecimals": "<string>",
"valueWithDecimals": "<string>",
"possibleSpam": true,
"triggered_by": [
"<string>"
]
}
],
"txsInternal": [
{
"hash": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"nonce": "<string>",
"input": "<string>",
"transactionIndex": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"value": "<string>",
"type": "<string>",
"v": "<string>",
"r": "<string>",
"s": "<string>",
"receiptStatus": "<string>",
"triggered_by": [
"<string>"
]
}
],
"erc20Approvals": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"spender": "<string>",
"value": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>",
"tokenDecimals": "<string>",
"valueWithDecimals": "<string>"
}
],
"nftTokenApprovals": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"nftApprovals": {
"ERC721": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"ERC1155": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
]
},
"nftTransfers": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"from": "<string>",
"to": "<string>",
"tokenId": "<string>",
"amount": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"nativeBalances": [
{
"address": "<string>",
"balance": "<string>"
}
],
"triggeredBy": [
"<string>"
]
}
'"<string>"curl --request POST \
--url https://api.example.com/api/webhooks/v1/ChainExplorer/ContractChanged \
--header 'Content-Type: application/json' \
--data '
{
"confirmed": true,
"chainId": "<string>",
"abi": [
"<unknown>"
],
"streamId": "<string>",
"tag": "<string>",
"retries": 123,
"block": {
"number": "<string>",
"hash": "<string>",
"timestamp": "<string>"
},
"logs": [
{
"logIndex": "<string>",
"transactionHash": "<string>",
"address": "<string>",
"data": "<string>",
"topic0": "<string>",
"topic1": "<string>",
"topic2": "<string>",
"topic3": "<string>",
"triggered_by": [
"<string>"
]
}
],
"txs": [
{
"hash": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"nonce": "<string>",
"input": "<string>",
"transactionIndex": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"value": "<string>",
"type": "<string>",
"v": "<string>",
"r": "<string>",
"s": "<string>",
"receiptStatus": "<string>",
"triggered_by": [
"<string>"
]
}
],
"erc20Transfers": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>",
"tokenDecimals": "<string>",
"valueWithDecimals": "<string>",
"possibleSpam": true,
"triggered_by": [
"<string>"
]
}
],
"txsInternal": [
{
"hash": "<string>",
"gas": "<string>",
"gasPrice": "<string>",
"nonce": "<string>",
"input": "<string>",
"transactionIndex": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"value": "<string>",
"type": "<string>",
"v": "<string>",
"r": "<string>",
"s": "<string>",
"receiptStatus": "<string>",
"triggered_by": [
"<string>"
]
}
],
"erc20Approvals": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"spender": "<string>",
"value": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>",
"tokenDecimals": "<string>",
"valueWithDecimals": "<string>"
}
],
"nftTokenApprovals": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"nftApprovals": {
"ERC721": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"ERC1155": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"owner": "<string>",
"approved": "<string>",
"tokenId": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
]
},
"nftTransfers": [
{
"transactionHash": "<string>",
"logIndex": "<string>",
"contract": "<string>",
"from": "<string>",
"to": "<string>",
"tokenId": "<string>",
"amount": "<string>",
"tokenContractType": "<string>",
"tokenName": "<string>",
"tokenSymbol": "<string>"
}
],
"nativeBalances": [
{
"address": "<string>",
"balance": "<string>"
}
],
"triggeredBy": [
"<string>"
]
}
'"<string>"Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The response is of type file.