<Price Inquiry> Interface
Obtain real-time price information of multiple platforms through the NFTId returned by the NFT List Interface
Request Address: /api/v1/meta/quote
Request Method: GET
Request Parameter:
equipmentNo
Device ID
string
Y
nftId
NFTPrimary Key id
integer
Y
platformId
NFT Platform Primary Key id
integer
Y
orderSide
1:Buy,0:Sell
string
Y
fromTokenAddress
Original contract address
string
Y
fromTokenChain
Original token chain
string
Y
fromAddress
Transaction initiate address
string
Y
Output Parameter:
fromTokenAmount
Original token amount, times decimal
integer
fromTokenDecimal
Original token decimal
integer
toTokenAmount
Target token number, divided by decimal
integer
toTokenDecimal
Target token decimal
integer
dex
Swap platform
string
path
Swap route
array
fee
Transaction fee
decimal
feeToken
Transaction fee token
string
logoUrl
Logo address
string
platformId
Platform primary key id
integer
paymentInfo
Payment information
Object
txInfo
Parameters that when swap redeem
Object
Input Example:
Output Example:
Postman Call Example
Last updated