Skip to main content
POST
/
api
/
webhooks
/
v1
/
ChainExplorer
/
ContractChanged
cURL
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>"

Query Parameters

api-version
string | null

Body

application/json
confirmed
boolean
chainId
string
abi
any[]
streamId
string
tag
string
retries
integer<int32>
block
object
logs
object[]
txs
object[]
erc20Transfers
object[]
txsInternal
object[]
erc20Approvals
object[]
nftTokenApprovals
object[]
nftApprovals
object
nftTransfers
object[]
nativeBalances
object[]
triggeredBy
string[]

Response

200 - application/octet-stream

The response is of type file.