Get Unsigned Liquidity PSBT

Obtaining an Unsigned PSBT for Adding Liquidity (RUNES)

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 Notest

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

Last updated