API URL

POST /api/v1/trade/page

Request

Request Parameters

NameTypeRequiredDescription
cidinteger(int64)NCregis ID
tx_idstringNtxid
statusintNtransaction status【0-pending 1-success 2-fail】
trade_typeintNtransaction type【1-in 2-out】
business_typeintNbusiness type 【0: common 2:audit 3:api address deposit 4:collect fee 5:collect】
blocktime_startinteger(int64)Nblock start timestamp【10-digit】
blocktime_endinteger(int64)Nblock end timestamp【10-digit】
chain_idstringNchain_id
token_idstringNtoken_id
page_numintNpage number,default:1
page_sizeintNpage size,default:10,max: 100
pidinteger(int64)YProject ID
noncestringY6-digit random string
timestampinteger(int64)YTimestamp
signstringYSignature
Request Example
{
    "cid": 1410580986806272,
    "tx_id": "0xa795af0324b1e3b862ae0c271bc8b3d99c7a1b72a6a0088a10c84403d0e6f27d",
    "status": 1,
    "trade_type": 1,
    "business_type": 3,
    "blocktime_start": 1721900581,
    "blocktime_end":1721998633,
    "chain_id": "2610",
    "token_id": "0x337610d27c682e347c9cd60bd4b3b107c9d34ddd",
    "page_num": 1,
    "page_size": 10,
    "pid": 1382528827416576,
    "remark": "payout",
    "nonce": "hwlkk6",
    "timestamp": 1688004243314,
    "sign": "d6eef2de79e39f434a38efb910213ba6"
}

Response

Response Parameters

NameTypeDescription
codestringResponse code
msgstringResponse message
dataobjectResponse data object
Response data object
NameTypeDescription
pidinteger(int64)Project Id
cidinteger(int64)Cregis Id
chain_idstringchain_id
token_idstringtoken_id
currencystringtoken_name
to_addressstringtransaction to address
amountstringtransaction amount
statusinteger(int32)transaction status【0-pending 1-success 2-fail】
txidstringtx_id
block_heightstringblock height
block_timeinteger(int64)block timestamp
feestringtransaction fee
from_addressstringtransaction from address
Response Example
{
    "code": "00000",
    "msg": "ok",
    "data": {
        "total": 1,
        "rows": [
            {
                "pid": 1409650233999360,
                "cid": 1410580986806272,
                "chain_id": "2610",
                "token_id": "0x337610d27c682e347c9cd60bd4b3b107c9d34ddd",
                "to_address": "0x2d4124dcf3ca13acaff5579e1aa962c968df9092",
                "amount": "0.1",
                "status": 1,
                "txid": "0xa795af0324b1e3b862ae0c271bc8b3d99c7a1b72a6a0088a10c84403d0e6f27d",
                "block_height": "42393516",
                "block_time": 1721900581,
                "fee": "0.00258015",
                "from_address": "0xbd5ba5a08849c8a2c8ef188778ec383682b0063b"
            }
        ],
        "pageNum": 1,
        "pageSize": 10
    }
}