Send

Send Cryptocurrency with the API

This allows you to send cryptocurrency to an on-chain address. Remember to call Network Fees to calculate how much total will be removed from your cryptocurrency account balance.

mutation{
send(cryptocurrency: bitcoin, amount: 0.03, address:"1MmyYvSEYLCPm45Ps6vQin1heGBv3UpNbf") {
id
address
amount
cryptocurrency
fee
status
transaction {
hash
id
}
}
}

‚Äč

The send API call will queue your coins as an OnchainTransferRequest to be sent immediately. Your send request will return notable fields:

  • id: this is Global Object ID that you can use to retrieve the OnchainTransferRequest

  • status: this will be processing and will become processed when your send request is successful

  • transaction: when your send request is successful, this will return a transaction that contains all your send request information along with the on-chain transaction hash which can be checked on the respective cryptocurrency block explorer.