import { BitcoinData, BitcoinMessageRequest } from '../pool.dto'; import { AddressTxsUtxo, Psbt } from '@saturnbtcio/psbt'; import { CollectionUtxo } from '../../wallet/wallet.dto'; export interface BtcToRunePsbtRequest extends BitcoinData { feePayerPubkey: string; poolId: string; amountIn: bigint; amountOut: bigint; feeRate: bigint; } export interface BtcToRuneSwapMessageRequest extends BitcoinMessageRequest { feeRate: bigint; poolId: string; amountIn: bigint; amountOut: bigint; exactIn: boolean; signedPsbt: string; shardPubkeys: string[]; mergeUtxoPsbt?: string; } export interface BtcToRunePsbtResponse { tx: Psbt; shardPubkeys: string[]; mergeUtxoTx?: { psbt: Psbt; btcUtxo: CollectionUtxo; }; }