mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-05 21:14:22 -04:00
support and test splitting output for offer
This commit is contained in:
parent
055f2dd5d2
commit
3cfb83d252
15 changed files with 200 additions and 69 deletions
3
dist/HavenoClient.d.ts
vendored
3
dist/HavenoClient.d.ts
vendored
|
@ -423,9 +423,10 @@ export default class HavenoClient {
|
|||
* @param {number} marketPriceMarginPct - if using market price, % from market price to accept (optional, default 0%)
|
||||
* @param {bigint} minAmount - minimum amount to trade (optional, default to fixed amount)
|
||||
* @param {number} triggerPrice - price to remove offer (optional)
|
||||
* @param {number} splitOutput - create a new output reserved for the offer, incurring an on-chain transaction and 10 confirmations before the offer goes live (default = false)
|
||||
* @return {OfferInfo} the posted offer
|
||||
*/
|
||||
postOffer(direction: string, amount: bigint, assetCode: string, paymentAccountId: string, buyerSecurityDepositPct: number, price?: number, marketPriceMarginPct?: number, triggerPrice?: number, minAmount?: bigint): Promise<OfferInfo>;
|
||||
postOffer(direction: string, amount: bigint, assetCode: string, paymentAccountId: string, buyerSecurityDepositPct: number, price?: number, marketPriceMarginPct?: number, triggerPrice?: number, splitOutput?: boolean, minAmount?: bigint): Promise<OfferInfo>;
|
||||
/**
|
||||
* Remove a posted offer, releasing its reserved funds.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue