AnchorVirtualPsbt

Second step to transfer Taproot Assets to an address. This will accept the user's signed virtual psbt to verify, and if valid, return anchored psbt for another signature.

POST /api/anchor-virtual-psbt

Headers

Body

As request data, signed psbt should NOT be finalized by wallet.

Request

{
    "wallet_id":"23a06ee3-050a-46f7-9eec-68d95471dd6c",
    "fee_rate":5,
    "asset_psbts": ["cHNidP8BAF4CAAAAAf212vYupg+91+ilqNb6Mj5LVgBPbfXvXJZq2RnjK3R8AAAAAAAAAAAAASwBAAAAAAAAIlEgtJ57/25Uo4PHHmPnetzEZDbmM4epgb+1cQbP2R3yy/cAAAAAAAEBKywBAAAAAAAAIlEgMbM96t7Cioyi/WjZcakjODuoxZmyRI3f8teBHTQ+dCMiBgPlo3h49qBZY/z8TyZApROqvlZKoDOvOXsiec4WjpKL8hgAAAAA+QMAgAEAAIDUAACAAAAAAAoAAAABE0BUrwjMP3/NBckGcn45fZN2jgpESRFOBEPGlLsS4ZChIYJcXBsd44NWMpr+1jzNJLg/aioYSOMusgpCmL8aEb0xIRblo3h49qBZY/z8TyZApROqvlZKoDOvOXsiec4WjpKL8hkAAAAAAPkDAIABAACA1AAAgAAAAAAKAAAAARcg5aN4ePagWWP8/E8mQKUTqr5WSqAzrzl7InnOFo6Si/IAAA=="],
    "passive_asset_psbts":[]
}

Response

{
    "code": 0,
    "data": {
         "anchor_psbt": ["70736274ff0100d102000000028ba9299f260123601423ce71437928ee313bf44b816b35c5aa07c0e59396cdfc0100000000ffffffffaca2a9b5161a7bd01df1b4a5572fc7a2fe8ccfddfcae13d54f2b1aa5f0a9521f01000000000000000003e80300000000000022512056b5abe9450b4ccafeda69d82491f13299e0b6b7c25a113f80dd5b030377e9b0e803000000000000225120cd586be63ca9c2d4da65fc295ddb415a1ecc04b7cbe46aa546b0485ce2b25fed5cf1200a000000001600140b42e943f0c6eb2674576f867331bd09a590b4bd00000000000100de02000000000101918f623588b64c3488e2cfa1a9d849b630fa26e69cea9b9da8b1fac36c6c89aa0100000000ffffffff02002d3101000000001600142b6bb0717085d23e76a3e5cb55e77d3c3dcc0f9ee026210a000000001600140b42e943f0c6eb2674576f867331bd09a590b4bd02473044022007ef8f83c01397e1e37a58b362d92e3d19185e0df96fedb870c81925ed47d1c002201dc580bcac5f29fba69dad90c538d8178e388cf4352aff6de1dbb4be98aa12420121032881e7339571ee8de34b00dbcc10f423d70dd5d6cc51c7d6ecf33255311d04e00000000001011fe026210a000000001600140b42e943f0c6eb2674576f867331bd09a590b4bd010304010000002206032881e7339571ee8de34b00dbcc10f423d70dd5d6cc51c7d6ecf33255311d04e0180000000054000080000000800000008000000000000000000001012be803000000000000225120e95a9a80c557f7cf04a0865fd2397b901bef3aa22008bfa8909ca27d25144e6f220602b732f71e947fe724a070984dadf5609693342fad28f112bef99662bf5394fdba1800000000f903008001000080d4000080000000000b0000002116b732f71e947fe724a070984dadf5609693342fad28f112bef99662bf5394fdba190000000000f903008001000080d4000080000000000b000000011720b732f71e947fe724a070984dadf5609693342fad28f112bef99662bf5394fdba011820eaa073d2073c9688b5cd5b549396a542497fb48fa7ccf8430c9124511334332500220203001a739403bcabcd3d00b02d84666be9c1d1063ea3d0588ec124cb8955c09b871800000000f903008001000080d4000080000000000d000000010520001a739403bcabcd3d00b02d84666be9c1d1063ea3d0588ec124cb8955c09b872107001a739403bcabcd3d00b02d84666be9c1d1063ea3d0588ec124cb8955c09b87190000000000f903008001000080d4000080000000000d000000017020ead1cbf1c74e7d3a236c1464e6e448dc82a69142f1f9c26f68b6a571472ee8fe017120ead1cbf1c74e7d3a236c1464e6e448dc82a69142f1f9c26f68b6a571472ee8fe0001052031e0a8a31d8c08445b2a7260f26133c68bec46e4a2662ba0a3af8fd6eda0c4e9017020d1c5c94fe98796690caf15f6ebdb793eddc2b2eab360046b483539c0810b2481017120d1c5c94fe98796690caf15f6ebdb793eddc2b2eab360046b483539c0810b2481002202035c0ed3efc7edee23727c1f39b92d0910ea65d11c67384673048eea8dc3b04e971800000000540000800000008000000080010000000700000000"]
    },
    "message": "",
    "traceid": "a73c5849-6a10-4bda-a411-d6c236277939"
}

Last updated