Callback

The Permanent Address Callback is triggered when a transaction to a permanent address receives 12 confirmations on the blockchain. This ensures that the transaction is securely confirmed.

Transaction Found with 12 Confirmations

{
    "statusCode": 200,
    "merchant_id": "a56e0-0a10c-73015-9f330",
    "hash": "o3OsLGIMX3KCRGO4plWNhBJqRAiLDU2/L5i+ymIlcliBVWJ/ca6OSmdTb7UAylXQgfpjXZT5ZUC6faYS2aNaQQ==",
    "data": {
        "symbol": "USDT",
        "from": "0x1111111111111111111111111111111111111111",
        "address": "0x0E595b185E323Fa5019E8D73B2F7A3D0f089b582",
        "block": 7677026,
        "txid": "0x73cedead30e3949d0867986f7049923417dd42ca32872aaece85c41703927773",
        "confirmation": 12,
        "balance": 124.6261,
        "timestamp": 1586350781,
        "risk_level": 1
    }
}

For the "Permanent Address Callback" section of your API documentation, it's important to clearly describe how the callback mechanism works, especially regarding transaction confirmations for permanent addresses. Here's how you can structure this section:


Permanent Address Callback

Brief Description

The Permanent Address Callback is triggered when a transaction to a permanent address receives 12 confirmations on the blockchain. This ensures that the transaction is securely confirmed.

Transaction Found with 12 Confirmations

{
    "statusCode": 200,
    "merchant_id": "a56e0-0a10c-73015-9f330",
    "hash": "o3OsLGIMX3KCRGO4plWNhBJqRAiLDU2/L5i+ymIlcliBVWJ/ca6OSmdTb7UAylXQgfpjXZT5ZUC6faYS2aNaQQ==",
    "data": {
        "symbol": "USDT",
        "from": "0x1111111111111111111111111111111111111111",
        "address": "0x0E595b185E323Fa5019E8D73B2F7A3D0f089b582",
        "block": 7677026,
        "txid": "0x73cedead30e3949d0867986f7049923417dd42ca32872aaece85c41703927773",
        "confirmation": 12,
        "balance": 124.6261,
        "timestamp": 1586350781,
        "risk_level": 1
    }
}

Callback Parameters

Parameter Name
Type
Explanation

symbol

string

Type of token (e.g., 'USDT', 'USDC'', 'tron-usdt', 'tron-usdc').

from

string

The source address from which the tokens are sent.

address

string

The recipient's permanent address.

block

string

The block number on the blockchain where the transaction was included.

txid

string

Blockchain transaction identifier.

confirmation

number

The number of confirmations the transaction has received.

balance

decimal

The amount of tokens received.

timestamp

number

Timestamp of when the transaction was processed.

risk_level

number

0, pending 1 low, 2 high, 3 medium, 4 severe

Last updated