Skip to main content

Transaction

tokenviewLess than 1 minute

Transaction

Transaction Info

GET https://services.tokenview.io/vipapi/tx/trx/{transaction-hash}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/tx/trx/ec1f112ed9403372e6c4b8c54a9e6b670612634d5e7f4f9b134c2ada716b617a?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "blockHash": "0000000002c94a77d61344443cad0d66f4406d38c9774da98db7282b9d6eb53a",
        "tType": "Trigger Smart",
        "fee": "6.498",
        "type": "tx",
        "network": "TRX",
        "block_no": 46746231,
        "toIsContract": 1,
        "gasLimit": 40000000,
        "gasUsed": 14650,
        "netFee": 345000,
        "tokenTransfer": [
            {
                "tokenSymbol": "USDT",
                "index": 193,
                "tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
                "tokenInfo": {
                    "c": "TRC20",
                    "s": "USDT",
                    "d": "6",
                    "f": "Tether USD",
                    "h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
                },
                "token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
                "tokenDecimals": "6",
                "from": "TRpn2AWwXLfYSVtRaxKGm5oMCPvrRyvBJv",
                "to": "TRYSAPwtYAewyUjeckH9mGJ28yuZVUDEfz",
                "value": "328530259"
            }
        ],
        "from": "TRpn2AWwXLfYSVtRaxKGm5oMCPvrRyvBJv",
        "value": "0",
        "height": 46746231,
        "gasFee": 6153000,
        "index": 193,
        "txid": "ec1f112ed9403372e6c4b8c54a9e6b670612634d5e7f4f9b134c2ada716b617a",
        "confirmations": 140,
        "input": "a9059cbb000000000000000000000000aad29988614ee7b79ff5e075e1e39d1e35d48b8d000000000000000000000000000000000000000000000000000000001394f953",
        "expiration": 1670826996,
        "time": 1670826945,
        "to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
    }
}

Transaction Confirmations

GET https://services.tokenview.io/vipapi/tx/confirmation/trx/{transaction-hash}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/tx/confirmation/trx/ec1f112ed9403372e6c4b8c54a9e6b670612634d5e7f4f9b134c2ada716b617a?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "network": "TRX",
        "txId": "ec1f112ed9403372e6c4b8c54a9e6b670612634d5e7f4f9b134c2ada716b617a",
        "confirmation": 193
    }
}
Last update: