Send Coin
Send cryptocurrency to an address.
Endpoint: POST /wallets/send
Authentication: Required (x-api-key for live, x-staging-api-key for test)
Fees
Fees are taken from the token you are sending.
Request Parameters
amount
integer
Yes
Amount of token to send (must be greater than 0)
network
string
Yes
Network code to parse in requests (e.g. trc20, bep20, bitcoin)
to
string
Yes
Destination address
token
string
Yes
Token symbol to send (e.g. usdt, btc)
Example Request
curl -X POST https://service.roqqu.com/v1/wallets/send \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "amount=2" \
-d "network=trc20" \
-d "to=TUyR2sEjzDZNmbnac2ZkJ54h64m6TmVN71" \
-d "token=usdt"Example Response
datais the queued send record. On-chain confirmation is delivered later via thetoken_sentwebhook.
Error Responses
Invalid token:
Send disabled for token:
Send disabled for network:
Invalid network:
Network not available for token:
Address / network mismatch:
Cannot detect network for address:
Insufficient balance:
Message uses the token you are sending (e.g.
insufficient BTC balancewhen sending BTC).
Below minimum send:
Above maximum send:
Amount must be positive:
Queue failure:
Last updated