Signs a Bitcoin Cash transaction.
The recipient address of the transaction.
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//bitcoincash/accounts/{accountName}/sign-tx' \ --header 'Authorization: text' \ --header 'Content-Type: application/json' \ --data '{ "to": "text", "value": 1, "network": "text", "compress": true }'
{ "success": true, "message": "text", "data": { "signedTx": "text", "transaction_hash": "text" } }