Wrong data on /sapi/v1/nft/history/transactions

Hello,

I started using the NFT endpoints from the spot API and noticed a couple issues.

  • Seller fees are found within buyer (me) “royalty income” transactions

Purchase order
GET https://api.binance.com/sapi/v1/nft/history/transactions?orderType=0

        {
            "orderNo": "0_615447886966214656",
            "tokens": [
                {
                    "network": "BSC",
                    "tokenId": "542100000137",
                    "contractAddress": "0xa417d6b507d5f25f5345353127410027f6e0a69f"
                }
            ],
            "tradeTime": 1661499292000,
            "tradeRevenue": "0.10000000",
            "tradeAmount": "0.10000000",
            "tradeCurrency": "BNB"
        }

Royalty income
GET https://api.binance.com/sapi/v1/nft/history/transactions?orderType=2

        {
            "orderNo": "2_615447886966214656",
            "tokens": [
                {
                    "network": "BSC",
                    "tokenId": "542100000137",
                    "contractAddress": "0xa417d6b507d5f25f5345353127410027f6e0a69f"
                }
            ],
            "tradeTime": 1661499292000,
            "tradeRevenue": "0.00400000",
            "tradeAmount": "0.00400000",
            "tradeCurrency": "BNB"
        }
  • Trade currency is incorrect on some sell order transactions (displayed as BUSD while the transaction was in BNB)

Sell order
GET https://api.binance.com/sapi/v1/nft/history/transactions?orderType=2

        {
            "orderNo": "1_615686835442180096",
            "tokens": [
                {
                    "network": "BSC",
                    "tokenId": "542100000137",
                    "contractAddress": "0xa417d6b507d5f25f5345353127410027f6e0a69f"
                }
            ],
            "tradeTime": 1661583056000,
            "tradeRevenue": "0.11520000",
            "tradeAmount": "0.11520000",
            "tradeCurrency": "BUSD"
        }

Transaction history from UI for reference:

Could you please have a look and let me know if I’m getting it wrong, or otherwise give feedback to the team in charge please?

Thank you.

Thank you for the feedback, we will let team know.

1 Like