Send Signed Swap PSBT

Sending Signed Swap PSBT

Finally, send the signed PSBT. If the response indicates success, the swap is successful.

POST/brc20swap/send_swap_psbt

export interface SendSwapPsbtBody {
  order_id: string;
  psbt: string;
}

ARC20 Example

{
    "order_id": "swap_931454515981320192",
    "psbt": "70736274ff0100fd190102000000038c9eff89c388e565212e09e7a6e83160aa97e3b301b54de4a8731c84846bd1220000000000ffffffffcaf37b382d2007619ab2cf3905deb199f3c4510f662450e263df3cc5b353df080200000000ffffffff68a07bd663963805819cb32b4d39484f7178993bb5917b1c44b0611bee4141b40200000000ffffffff0422020000000000002251205f28b0e8c26bf7f3fa368c238eec1ba1d1abf88a6166fab2803fad046067942d700400000000000022512006161a3f67a1c67b1a39550c0e6c156852f22e9c9bfc67aa951010a27cdc324a6003000000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c658dd89030000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c658000000000001011f2202000000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c65801086c02483045022100a4738e83100707b362470c9844ae8dfe74885b623cb9bca95cf10e4758bcdf6b02204521e37097227db5ff9dab32417f05616ab10e75816e2141a241c27ab19fcda7012102d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee810001011f0899030000000000160014464ef3759fcfb1eb3d76f3319ef58ec20301c65801086c024830450221009be9398107c98257e490bdb73ed94eade0a19e95617006d3c2b33251825e3d100220475aaa3e366246bb134525ed952b818d34626a58d5b19542ba9dba8d56828242012102d3ac7452920b1cc4653516dd4f4381a2df0a8c0aac6e3446e633a73ea63eee810001012bd00700000000000022512006161a3f67a1c67b1a39550c0e6c156852f22e9c9bfc67aa951010a27cdc324a010304010000000000000000"
}

Last updated