API: rfqQuote
Quote the Peti system to get the call data for Peti transaction submitting
post
https://cbridge-prod2.celer.app/v1/rfqQuote
Name | Type | Description |
---|---|---|
price | | |
mmId | String | market marker uniq id |
sender | String | user wallet address |
receiver | String | wallet address who receive the token on destination chain |
refundTo | String | refund address when source transaction failed |
srcDeadline | Number(Second) | |
dstDeadline | Number(Second) | |
srcNative | Bool | true when source token is a native token |
dstNative | Bool | true when destination receive token is a native token |
Name | Type | Description |
---|---|---|
srcTokenUsdPrice | String | source token usd price |
dstTokenUsdPrice | String | destination token usd price |
quote | |
Name | Type | Description |
---|---|---|
hash | String | The quote hash, uniq id to mark this quote. |
srcToken | source token | |
srcAmount | String | Input amount with source token decimal |
dstToken | Receiving token on destination chain | |
dstAmount | String | quote received amount |
srcDeadline | Number(Second) | |
dstDeadline | Number(Second) | |
nonce | Number | nonce for rfq contract transaction calling |
sender | String | sender address |
receiver | String | receive address |
refundTo | String | refund address when source transaction failed |
mmAddr | String | market marker address |
Last modified 7mo ago