Get Unsigned Liquidity PSBT

Obtaining an Unsigned PSBT for Adding Liquidity (ARC20)

POST / brc20swap/v2/create_add_liquid_psbt2

export interface PoolPsbtBody {
  tick1: string;
  tick2: string;
  coin_type_1: string;
  coin_type_2: string;
  amount_1: string;
  amount_2: string;
  slipper: string;
  payer_ord_addr: string;
  fee_rate: string;
  payer_btc_addr: string;
  payer_pub_key: string;
}

Important Notes

  1. Use the same address for both payer_ord_addr and payer_btc_addr.

  2. Minimum injection thresholds:

    • BTC: 0.003

    • ARC20: ≥ 546 and must be a positive integer

  3. After adding liquidity, the remaining balance of the token in the user's wallet must be either 0 or greater than 546.

Last updated