Get NFT Transaction History(USER_DATA)
API Description
Get NFT Transaction History
HTTP Request
GET /sapi/v1/nft/history/transactions
Request Weight(UID):
3000
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
orderType | INT | YES | 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee |
startTime | LONG | NO | |
endTime | LONG | NO | |
limit | INT | NO | Default 50, Max 50 |
page | INT | NO | Default 1 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- The max interval between startTime and endTime is 90 days.
- If startTime and endTime are not sent, the recent 7 days' data will be returned.
Response Example
{
"total": 2, //total records
"list": [
{
"orderNo": "1_470502070600699904", // 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee
"tokens": [
{
"network": "BSC", // NFT Network
"tokenId": "216000000496", // NFT Token ID
"contractAddress": "MYSTERY_BOX0000087" // NFT Contract Address
}
],
"tradeTime": 1626941236000,
"tradeAmount": "19.60000000",
"tradeCurrency": "BNB"
},
{
"orderNo": "1_488306442479116288",
"tokens": [
{
"network": "BSC",
"tokenId": "132900000007",
"contractAddress": "0xAf12111a592e408DAbC740849fcd5e68629D9fb6"
}
],
"tradeTime": 1631186130000,
"tradeAmount": "192.00000000",
"tradeCurrency": "BNB"
}
]
}