API reference
Assets
The coins Solace holds in custody, and the networks each can move on right now.
Coins and networks
GET/platform/v1/assets
Every coin Solace holds in custody, with the networks it can be deposited and withdrawn on right now (on the sandbox, the testnets that carry it), their minimums and fees, and whether it can be swapped. Any key may read it.
Returns
- 200 The coins.
Request
curl https://sandbox-api.solacefi.co/platform/v1/assets \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/assets', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
Response · 200
JSON
{
"object": "list",
"data": [
{
"object": "asset",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"swaps": true,
"networks": [
{
"network": "ethereum",
"name": "Ethereum Sepolia",
"deposits": true,
"withdrawals": true,
"min_deposit": "1",
"withdrawal_fee": "1",
"explorer_tx_url": "https://sepolia.etherscan.io/tx/{tx}"
}
]
}
],
"has_more": false
}PreviousEvent types
NextRates →