Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Parameter
Type
Required
Description

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

data is the queued send record. On-chain confirmation is delivered later via the token_sent webhook.

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 balance when sending BTC).

Below minimum send:

Above maximum send:

Amount must be positive:

Queue failure:

Last updated