Signs a Bitcoin transaction using the provided account name and transaction input.
The recipient address.
The amount to be sent.
The network on which the transaction is taking place.
Indicates whether to compress the public key.
curl -L \ --request POST \ --url 'https://beta.usemoon.ai//bitcoin/{accountName}/sign-tx' \ --header 'Authorization: text' \ --header 'Content-Type: application/json' \ --data '{ "to": "text", "value": 1, "network": "text", "compress": true }'
{ "data": { "signedTx": "text", "transaction_hash": "text" }, "success": true, "message": "text" }