Approval

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

FieldTypeDescription
appStringFixed value: "EQHub"
data.transaction_hashStringBlockchain hash representing the approval transaction
data.approverStringBlockchain address granting or revoking approval
data.operatorStringBlockchain address receiving or losing approval
data.is_approvedBooleanApproval status (true for granted, false for revoked)
data.timestampStringISO timestamp when approval action occurred
event_nameStringFixed value: "NFT_KIT_APPROVAL"
service_identifierStringFixed value: "NFT_KIT"
resource_identifierIntegerIdentifier 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"
}