Add amount field to TakeOfferRequest proto msg

This commit is contained in:
ghubstan 2022-08-06 15:04:07 -03:00
parent d3f90d7337
commit 39c42ddb07
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -516,6 +516,10 @@ message TakeOfferRequest {
string offer_id = 1; // The unique identifier of the offer being taken. string offer_id = 1; // The unique identifier of the offer being taken.
string payment_account_id = 2; // The unique identifier of the payment account used to take offer. string payment_account_id = 2; // The unique identifier of the payment account used to take offer.
string taker_fee_currency_code = 3; // The code of the currency (BSQ or BTC) used to pay the taker's Bisq trade fee. string taker_fee_currency_code = 3; // The code of the currency (BSQ or BTC) used to pay the taker's Bisq trade fee.
// The trade's intended BTC amount in satoshis. Ten million satoshis is represented as 10000000.
// If set, the takeoffer amount value must be >= offer.min_amount and <= offer.amount.
// If not set (0 default), the taken offer's (max) amount becomes the intended trade amount.
uint64 amount = 4;
} }
message TakeOfferReply { message TakeOfferReply {