Skip to main content

Contract

tokenviewLess than 1 minute

Contract

Contract Creation Transaction

GET https://services.tokenview.io/vipapi/trx/contract/creator/{contract-address}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/trx/contract/creator/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "type": "tx",
        "network": "TRX",
        "block_no": 8418292,
        "height": 8418292,
        "blockHash": "00000000008073f4301337e354b2a63258f7cb6044276594efa6c71f7de1a81a",
        "index": 22,
        "time": 1555400628,
        "txid": "3b27180746e68744e5e2e981ae6fa54d502f2aa6e18b8a98824fd1a69069d55a",
        "fee": "30.8569",
        "tType": "Create Smart",
        "confirmations": 38328875,
        "from": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
        "to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
        "value": "0",
        "gasFee": 30677290,
        "gasUsed": 3067729,
        "gasLimit": 100000000,
        "expiration": 1555400682,
        "toIsContract": 1,
        "netFee": 179610
    }
}

Response Description

{
    "code": 1,
    "msg": "成功",
    "data": {
        "type": "tx",  // return type:transaction
        "network": "TRX", 
        "block_no": 8418292, // block-height when contract creates
        "height": 8418292,   // block-height when contract creates
        "blockHash": "00000000008073f4301337e354b2a63258f7cb6044276594efa6c71f7de1a81a", // block hash
        "index": 22,  
        "time": 1555400628, // utc time
        "txid": "3b27180746e68744e5e2e981ae6fa54d502f2aa6e18b8a98824fd1a69069d55a",
        "fee": "30.8569",  
        "tType": "Create Smart",
        "confirmations": 38328875, 
        "from": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC", 
        "to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",   
        "value": "0",  
        "gasFee": 30677290,
        "gasUsed": 3067729,
        "gasLimit": 100000000,
        "expiration": 1555400682,
        "toIsContract": 1, // to contract address
        "netFee": 179610
    }
}

Last update: