Peti Protocol
Search
⌃K

API: rfqPrice

Get Peti system order fee and amount out
post
https://cbridge-prod2.celer.app/v1/rfqPrice

Request Parameters

Name
Type
Description
srcToken
TokenInfo
source token
dstToken
TokenInfo
receiving token on destination chain
srcAmount
String
Input amount with token decimal
dstNative
Bool
receiving token is native token on destination chain

Response Parameters

Response Body

price
Price
rfq price for this quote
fee
string
Protocol fee + market maker charged fee
mmId
string
The uniq id of market marker
txMsgFee
string
SGN charges fees to sync, store, and sign messages

Price

Name
type
Description
src token
TokenInfo
Source token information
dst token
TokenInfo
Destination receive token information
srcAmount
string
Input amount with src token decimal
dstAmount
string
Estimated received amount on destination chain
feeAmount
string
market maker fee + msg fee + src tx gas cost + dst tx gas cost
validThru
timestamp
Unix epoch milliseconds. the time before which the price response is valid for Quote
mmAddr
string
Market maker address
sig
string
Market marker uses this signature to verify the price content is agreed by them previously
srcDepositPeriod
number
Unit second. The maximum src deposit period that is expected by market maker, will be started from the time when mm receives the quote request.
dstTransferPeriod
number
Unit second. The minimum destination transfer period that is expected by market maker, will be started from the time when mm receives the quote request.

TokenInfo

Name
Type
Description
chain_id
number
Chain id
symbol
string
Token Symbol
address
string
Token address