Get an unsigned PSBT for swapping runes
The amount for the swap, represented as a string to accommodate large integers.
The price tolerance in percentate x 10000.
The ticker symbol for the rune.
The side of the trade, either "buy" or "sell".
The payment address of the taker.
The public key of the taker, required for buying.
The runes address of the taker.
The runes public key of the taker, required for selling.
The fee rate tier.
The numerical fee rate.
Flag indicating if only legacy listings should be considered.
Flag indicating if only RBF prevention listings should be considered.
Successful response
The index of the BTC change output, optional for sweeping post split.
An array of errors encountered during the swap process.
An array of PSBTs (Partially Signed Bitcoin Transactions).
The unique request identifier.