Crypto
Crypto Accounts
GET
https://api.liquid.com/crypto_accounts
Get a list of crypto accounts.
Crypto Withdrawals
GET
https://api.liquid.com/crypto_withdrawals?currency={currency}
Get crypto withdrawal requests details.
Query Parameters
address
string
User's Liquid crypto address.
timestamp
number
Only show withdrawal requests based on created_at at or after timestamp (timestamp in seconds).
state
string
State of withdrawal request. pending, processing, processed, cancelled, reverted
currency
string
Symbol of currency. eg. BTC
GET
https://api.liquid.com/crypto_withdrawal_addresses?currency={currency}
Retrive list of withdrawal addresses.
Only withdrawal addresses with status = awaiting_confirmation
, confirmed
will be returned.
Path Parameters
currency*
String
Symbol of crypto asset.
Eg. BTC
Crypto Withdrawals Supported Network
GET
https://api.liquid.com/crypto_withdrawals/crypto_networks?currency={currency}
Get crypto withdrawals supported networks.
Path Parameters
currency
string
Example: /crypto_withdrawals/crypto_networks?currency=USDC
Create a Crypto Withdrawal
POST
https://api.liquid.com/crypto_withdrawals
Request Body
network
string
Please refer to GET Crypto Withdarawals Supported Network. If the asset to be withdrawn supports only one network, this field is not required. Otherwise, network must be specified.
auth_code
string
See explanation below.
currency
string
"crypto_withdrawal": {"currency": "BTC"}
.
amount
string
"crypto_withdrawal": {"amount": "1.234"}
address
string
"crypto_withdrawal": {"address": "1BvBMSxxxx"}
payment_id
string
For XRP only.
memo_type
string
text
, id
, hash
for XLM only.
memo_value
string
For XLM only.
NO-TOUCH MODE
Creating a crypto withdrawal requires user to interactively input 2FA code and confirm via email. This can be a problem if user is trying to build a fully automated system.
No-touch mode allows human interaction (auth token and email confirmation) to be omitted. No-touch mode can be enabled by adding at least one confirmed Whitelist IP.
Cancel a Crypto Withdrawal
PUT
https://api.liquid.com/crypto_withdrawal/{request_id}/cancel
Path Parameters
request_id
string
Example crypto withdrawal request ID: 1351
.
Last updated