Send Signed Liquidity PSBT

Sending Signed PSBT for Adding Liquidity Pools

Finally, send the signed PSBT. If the response indicates success, the liquidity has been added/created successfully.

POST/brc20swap/v2/add_liquid_by_psbt

// Inherits the request parameters from the previous interface and adds an additional psbt field
export interface SendPoolPsbtBody extends PoolPsbtBody {
  psbt: string;
}

RUNES 示例

{
    "tick1": "RUNEONERUNEONE",
    "coin_type_1": "runes",
    "amount_1": "500",
    "tick2": "BTC",
    "coin_type_2": "btc",
    "amount_2": "10000",
    "fee_rate": "57",
    "slipper": "12",
    "payer_ord_addr": "tb1qge80xavle7c7k0tk7vceaavwcgpsr3jchl0w3e",
    "payer_btc_addr": "tb1qge80xavle7c7k0tk7vceaavwcgpsr3jchl0w3e",
    "payer_pub_key": "02d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee81:02d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee81",
    "psbt": "70736274ff0100fd06010200000002e2a0a00695d8d535056355c22216bb4f7417840e54a30b43756be5d03e6efb430400000000ffffffff6c7e19e4e402626e417b53b74ec8072eabdc6a341c5962f16dc457934dd0e5690000000000ffffffff052202000000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c6582202000000000000225120d387bbe3477b8dff139067daec5a392e3dd5392a6931769a77faab5c5eb0943600000000000000000d6a5d0a00e5e49d01cc01f40301102700000000000022512006161a3f67a1c67b1a39550c0e6c156852f22e9c9bfc67aa951010a27cdc324a9a5c070000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c658000000000001011f61cc070000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c65801086c02483045022100aa71efa3d6f0cbddc76e86db758f35b6d8dbf8e1f4ea4ad0bdcbde86806f660502206766ef4bbeafe672da6499d80b715c570dec8e1c7ec931f15899a911e850963e012102d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee810001011f2202000000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c65801086c02483045022100ef7f9f1eb4cd36e6608507193dbd77c002717f8b431943fe308fe5d289628e2c02205cd88555b2fac6c2555ce62ba7b9a8c722cb7a8f113f67c0eb40bf399c622be7012102d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee81000000000000",
    "check_sum": "2C091CA6B604BB5D7C065B141BB9F881"
}

Last updated