Wallets
Deposit addresses, balances and the history of every balance movement.
Open a wallet
The address the end user deposits asset to on network. It is made on the first call and is the same every time after. On EVM chains one address serves every coin and chain. Without network, the coin's first open network is used. In the sandbox it is a real testnet address. With business as the id, it is your business balance's address: deposits to it go straight into your business balance. Scope: wallets.
Path parameters
eu_ id, or business for your business balance.Headers
Body parameters
GET /assets. Defaults to the coin's first open one.Returns
- 200 The deposit address.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{"asset":"USDC","network":"ethereum"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', 'Idempotency-Key': crypto.randomUUID(), }, body: JSON.stringify({ "asset": "USDC", "network": "ethereum" }), }); const data = await res.json();
{
"object": "wallet",
"end_user": "eu_4kPq9Zm2xV7b",
"asset": "USDC",
"network": "ethereum",
"address": "0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21",
"memo": null
}Fund a test balance
Sandbox only. Credits the end user with amount of test asset (USDT or USDC) at once, with no deposit on any chain, so you can try swaps, withdrawals and payouts without a faucet. At most 1,000 a call, and 10,000 a UTC day for all your end users together. It is reported as deposit.confirmed with internal true, and is collected into your business balance where the end user's deposits are. A live key is refused with 403. Scope: wallets.
The sandbox treasury does not hold coins for these credits. A withdrawal on chain is paid from the sandbox's own testnet coins and can fail if they run short; swaps, transfers and payouts are not affected.
Body parameters
eu_ id, or business for your business balance.Returns
- 201 The credit.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/test/fund \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"end_user":"eu_4kPq9Zm2xV7b","asset":"USDT","amount":"100"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/test/fund', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "end_user": "eu_4kPq9Zm2xV7b", "asset": "USDT", "amount": "100" }), }); const data = await res.json();
{
"id": "dep_6Yt3Hc9Kp1Ws",
"object": "test_funding",
"end_user": "eu_4kPq9Zm2xV7b",
"asset": "USDT",
"amount": "100",
"created_at": "2026-10-03T15:36:10.482Z"
}List an end user's addresses
One per network. Scope read:wallets (or wallets).
Path parameters
eu_ id, or business for your business balance.Returns
- 200 The addresses.
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"object": "list",
"data": [
{
"object": "wallet",
"end_user": "eu_4kPq9Zm2xV7b",
"network": "ethereum",
"address": "0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21",
"created_at": "2026-10-03T15:36:10.482Z"
}
],
"has_more": false
}Balances
Per coin. Scope read:wallets (or wallets).
Path parameters
eu_ id, or business for your business balance.Returns
- 200 The balances.
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/balances \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/balances', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"object": "list",
"data": [
{
"object": "balance",
"asset": "USDC",
"available": "20",
"locked": "0",
"updated_at": "2026-10-03T15:36:10.482Z"
}
],
"has_more": false
}Balance movements
Newest first: deposits, withdrawals and their refunds, both sides of each swap, transfers, and collections (deposits collected into your business balance). Scope read:transactions.
Path parameters
eu_ id, or business for your business balance.Query parameters
Returns
- 200 The latest movements.
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/transactions?limit=20 \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/transactions?limit=20', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"object": "list",
"data": [
{
"id": "txn_7Hc2Wq9LmP1z",
"object": "transaction",
"end_user": "eu_4kPq9Zm2xV7b",
"type": "deposit",
"asset": "USDC",
"amount": "20",
"network": "ethereum",
"tx_hash": "0x09d47b381a40a7434c94b4c29d08de5adda65b68711e2a243ea0a743e9f73c92",
"created_at": "2026-10-03T15:36:10.482Z"
}
],
"has_more": false
}