Skip to main content

Transaction

tokenviewAbout 1 min

Transaction

Transaction Info

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

Parameters

Request

curl --location https://services.tokenview.io/vipapi/tx/neo/0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "appendixData": null,
        "pending": null,
        "type": "tx",
        "network": "NEO",
        "block_no": 9078265,
        "height": 9078265,
        "blockHash": "0xe018cc611976be8b6665bd61d9aaa800eaf240af98e652117ba689c92ac3ea41",
        "index": 21,
        "time": 1649927053,
        "txid": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e",
        "fee": null,
        "tType": "InvocationTransaction",
        "confirmations": 8866,
        "size": 285,
        "sysFee": "0",
        "netFee": "0",
        "gas": "0",
        "script": "05002e597611144b721e06b50cc74e68b417716e3b099fb99757a814705f7d1f696624e9f74a8396e9b33cfd33670f1053c1087472616e7366657267e345419e7377286ee5b0a39b56e30f6213ab9e4d",
        "scripts": [
            {
                "invocation": "409b6f0d3fc687df4c9ba779a5be52066880b8cc2b9f259c068f19f51eb4e3236bc7cd25f00afba3be8c256b938c4cf5f660cede41214a6961a541e62e481ba45b",
                "verification": "2102425fe12cc2db89318f6e26c2f8629cadc202e45f4a26be90eaf8cab8e5695e87ac"
            }
        ],
        "from": [],
        "to": [],
        "tokenTransfer": [
            {
                "index": null,
                "block_no": null,
                "token": null,
                "asset": null,
                "tokenAddr": "0x4d9eab13620fe3569ba3b0e56e2877739e4145e3",
                "tokenSymbol": "FLM",
                "tokenDecimals": "8",
                "time": 1649927053,
                "txid": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e",
                "tokenInfo": {
                    "appendixData": null,
                    "pending": null,
                    "h": "0x4d9eab13620fe3569ba3b0e56e2877739e4145e3",
                    "p": null,
                    "f": "Flamingo",
                    "s": "FLM",
                    "d": "8",
                    "t": null,
                    "c": "NEP5",
                    "i": null,
                    "o": null,
                    "l": null
                },
                "confirmations": null,
                "type": null,
                "from": "AS23ifAE5YRQ95HweVnzRmjTtDYPSYjoDC",
                "to": "ANeo2toNeo3MigrationAddressxwPB2Hz",
                "fromAlias": null,
                "toAlias": null,
                "value": "75000000000",
                "valueIsNft": null,
                "fromIsContract": null,
                "toIsContract": null,
                "amount": null
            }
        ]
    }
}

Response Description

"data": {
        "appendixData": null,
        "pending": null,
        "type": "tx",  
        "network": "NEO",  
        "block_no": 9078265, 
        "height": 9078265,  
        "blockHash": "0xe018cc611976be8b6665bd61d9aaa800eaf240af98e652117ba689c92ac3ea41", 
        "index": 21,
        "time": 1649927053, 
        "txid": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e", 
        "fee": null,
        "tType": "InvocationTransaction", 
        "confirmations": 8866, 
        "size": 285, 
        "sysFee": "0", 
        "netFee": "0",
        "gas": "0",
        "script": "05002e597611144b721e06b50cc74e68b417716e3b099fb99757a814705f7d1f696624e9f74a8396e9b33cfd33670f1053c1087472616e7366657267e345419e7377286ee5b0a39b56e30f6213ab9e4d",
        "scripts": [
            {
                "invocation": "409b6f0d3fc687df4c9ba779a5be52066880b8cc2b9f259c068f19f51eb4e3236bc7cd25f00afba3be8c256b938c4cf5f660cede41214a6961a541e62e481ba45b",
                "verification": "2102425fe12cc2db89318f6e26c2f8629cadc202e45f4a26be90eaf8cab8e5695e87ac"
            }
        ],
        "from": [],
        "to": [],
        "tokenTransfer": [
            {
                "index": null,
                "block_no": null,
                "token": null,
                "asset": null,
                "tokenAddr": "0x4d9eab13620fe3569ba3b0e56e2877739e4145e3",  
                "tokenSymbol": "FLM",  
                "tokenDecimals": "8", 
                "time": 1649927053,
                "txid": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e", // 此交易的hash
                "tokenInfo": {
                    "appendixData": null,
                    "pending": null,
                    "h": "0x4d9eab13620fe3569ba3b0e56e2877739e4145e3",  // 代币hash地址
                    "p": null,
                    "f": "Flamingo",   
                    "s": "FLM",      
                    "d": "8",  
                    "t": null,
                    "c": "NEP5",  
                    "i": null,
                    "o": null,
                    "l": null
                },
                "confirmations": null,
                "type": null,
                "from": "AS23ifAE5YRQ95HweVnzRmjTtDYPSYjoDC", 
                "to": "ANeo2toNeo3MigrationAddressxwPB2Hz", 
                "fromAlias": null,
                "toAlias": null,
                "value": "75000000000",
                "valueIsNft": null,
                "fromIsContract": null,
                "toIsContract": null,
                "amount": null
            }
        ]
    }

Transaction Confirmation

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

Parameters

Request

curl --location https://services.tokenview.io/vipapi/tx/confirmation/neo/0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "appendixData": null,
        "pending": null,
        "network": "NEO",
        "txId": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e",
        "confirmation": 8866
    }
}

Response Description

"data": {
        "appendixData": null,
        "pending": null,
        "network": "NEO", 
        "txId": "0x93a2280027040ab8c801708d28ae31afe8a0920a782303cc630411d78ada5d7e", // Transaction hash
        "confirmation": 8866 
    }

Last update: