/sendBitcoinTransaction
1 min
POST
/sendBitcoinTransaction
account_idintegerThe account ID to use in this operation.
outputsarray<p>List of tuples representing the destination address and amount to transfer.</p>
<ul>
<li>Format: [(destination_address: str, amount_to_transfer: int)]</li>
</ul>
feeinteger<p>The fee to pay for this transaction, in Satoshi per vByte.</p>
descriptionstringText for describing the transaction in your records. This is not sent to the blockchain.
specificFromAddressstringDeposit address to send from. Cannot be used if the account is defined as an Omnibus account.
ignore_amlboolean<p>If True, the AML (Anti-Money Laundering) check will be bypassed.</p>
aml_notestring<p>Required note explaining why AML decision is being overridden. Only applicable when ignore_aml is True.</p>
utxos_to_usearray<p>A list of specific UTXOs (unspent transaction outputs) that must be used to build the MPC transaction.</p>
force_changeboolean<p>Whether to force change output (return excess funds) even if the total input exactly matches the output amount.</p>
acceptstringGenerated from available response content types
bodyobject
200success
curl --request POST \
--url '/sendBitcoinTransaction?account_id=1&outputs=array&fee=None&description=Test&specificFromAddress=3Qnv1fyqhSaptkxJrC9ruNfpSCB1Srmkg3&ignore_aml=boolean&aml_note=Flagged%20for%20potential%20money%20laundering&force_change=True' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"FunctionData": {
"ApprovalRequestStatus": 3,
"CoinType": "BTC",
"Transactions": [
{
"AmountToTransfer": "10000000",
"DestinationAddress": "3Qnv1fyqhSaptkxJrC9ruNfpSCB1Srmkg3"
}
]
},
"Meta": {
"AccessToken": "a3e816b5bc04302d99da94705ec2309a4a63fe10d6aed3c5f6fc9e7ff27c6be6",
"Destination": "042c671aeb148d9b2bb4918399c4c925f3764248c5ab2d5194ab0f32664132834692699a75e7fafb5af35f183b7d8a68bdc3b3e6ebfaff8ab555b9a3caf8090622",
"Source": "df4b76a23067a9d782d09a7372ed526ec713cf6d771fac4dbdb9610f7af36d570a157eed76986b8e85afde12888d10d10bef461399e490f3d7e4db44cde1b6e355",
"Time": "2021-02-14 09:58:52.320"
}
}'