Query on quote
Interface address: /api/v1/query-quote
Note: This interface allows you to query on quote details.
Parameter | Type | Mandatory | Description |
---|
network | String | N | The network associated with to the cryptocurrency. Mandatory for off-chain merchants: The network used when obtaining the quote. |
userId | String | Y | User's unique tag |
quoteId | String | Y | Quote ID |
Output parameters
Parameter | Type | Mandatory | Description |
---|
fiatCurrency | String | Y | Fiat currency |
cryptoCurrency | String | Y | Cryptocurrency |
fiatAmount | String | Y | Fiat amount |
cryptoAmount | String | Y | Cryptocurrency amount |
displayPrice | String | Y | Unit price |
displayFeeRate | String | Y | Transaction fee rate |
displayFee | String | Y | Transaction fee |
networkFee | String | Y | gasfee |
quoteId | String | N | Quote ID |
effectTime | Int | N | Validity period. Unit: millisecond |