Skip to navigation

Send Crypto

View as Markdown

Sends crypto from your balance to an external address.

Body

FieldTypeRequiredRules
networkIdstringyesNetwork id.
addressstringyesSource address - one of your generated deposit addresses on that network.
amountnumberyesJSON number > 0 (strings rejected), in the asset’s whole units.
currencyIdintegeryesJSON number > 0; must be a crypto currency from List Supported Currencies.
tostringyesDestination wallet address.

Behaviour

  • The on-chain balance of address is checked first; if it is lower than amount (or zero) the request fails with Insufficient funds. Balance: <x>, Required: <amount>.
  • On success a withdrawal record is created with status: "pending", direction: "out" and txHash: null; the destination is echoed back as tokenAddress. Track it via List Crypto Transactions.
  • Balance lookup errors are prefixed Failed to fetch balance - .

Authentication

AuthorizationBearer

Access token from Generate Access Token (valid 15 minutes).

Request

This endpoint expects an object.
networkIdstringOptional
addressstringOptional
amountdoubleOptional
currencyIdintegerOptional
tostringOptional

Response

OK
statusstringOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error