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.

You can specify the chain to send your compatible cryptocurrencies on i.e sending USDT via the TRX chain. To do this, you pass in a chain argument in your send mutation. Supported chains include TRX and BSC. The supported list is available in the GraphiQL introspection query.

mutation{
send(cryptocurrency: bitcoin, address: "1MmyYvSEYLCPm45Ps6vQin1heGBv3UpNbf", amount: 1.03, chain: BTC) {
id
address
amount
cryptocurrency
fee
status
transaction {
txhash
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 a 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.