Overview
The NFT Kit Approval Event webhook allows your application to receive real-time notifications whenever an approval action (granting or revoking permissions) occurs within EQHub's NFT Kit. Each time an NFT approval event takes place using the NFT Kit, EQHub will send detailed transaction data to your configured webhook endpoint.
Webhook Payload Structure Example
{
"app": "EQHub",
"data": {
"transaction_hash": "0xExampleTransactionHash",
"approver": "0xApproverAddress",
"operator": "0xOperatorAddress",
"is_approved": true,
"timestamp": "2025-02-17T09:45:15.000Z"
},
"event_name": "NFT_KIT_APPROVAL",
"service_identifier": "NFT_KIT",
"resource_identifier": 1
}
Payload Field Descriptions
Field | Type | Description |
---|---|---|
app | String | Fixed value: "EQHub" |
data.transaction_hash | String | Blockchain hash representing the approval transaction |
data.approver | String | Blockchain address granting or revoking approval |
data.operator | String | Blockchain address receiving or losing approval |
data.is_approved | Boolean | Approval status (true for granted, false for revoked) |
data.timestamp | String | ISO timestamp when approval action occurred |
event_name | String | Fixed value: "NFT_KIT_APPROVAL" |
service_identifier | String | Fixed value: "NFT_KIT" |
resource_identifier | Integer | Identifier for NFT Kit (kit_id ) |
How to Receive NFT Kit Approval Events
To receive webhook notifications for NFT Kit Token Approval, create a webhook in the EQ Hub Console, register the NFT_KIT_APPROVAL event, and configure your webhook URL within the same setup process.
Example:
{
"useWebhook": true,
"webhookUrl": "https://your-callback-url.com/webhook"
}