This sample code demonstrate how you can create a new transaction and send it to the network to spend fund from multisig address, as documented at docs.
API used: POST /v1/btc/main/txs/new and
POST /v1/btc/main/txs/send
Private keys (at least 2 of 3) in the same format as returned by Generate Address Endpoint.
Source (multisig) address: 2Mu7dJvawNdhshTkKRXGAVLKdr2VA7Rs1wZ Destination addresses: n3D2YXwvpoPg8FhcWpzJiS3SvKKGD8AXZ4
Spend Multisig Funds Sample
This sample code demonstrate how you can create a new transaction and send it to the network to spend fund from multisig address, as documented at docs.
API used: POST /v1/btc/main/txs/new and
POST /v1/btc/main/txs/send