Firm-Quote
Receiving Firm Quote request
{
"messageType": "firmQuote",
"message": {
"quoteId": string, // This is a unique quote ID generated by Native
"chainId": number, // 1 for ETH L1
"baseTokenAddress": string, // Base token (the token the trader sells)
"quoteTokenAddress": string, // Quote token (the token the trader buys)
"baseTokenAmount": string, // In wei
"seller": string, // The address that will send seller token to market maker
"pool": string, // Native pool contract address that will execute this order
// How much, in basis points, will be charged to you in fees if this order goes through.
"feeBps": number,
// Deadline UNIX timestamp passed by the user, you are free to accept, reject, or overwrite this request
"quoteExpire": number,
// <OPTIONAL> In wei, the amount that the market maker is allowed to borrow from native's credit pool
"availableBorrowBalance": string
}
}Sending Firm Quote response
Last updated