Skip to main content

Overview

The Stable Currency Wallet API lets users create a custodial wallet, receive deposits, check token balances across supported networks, and initiate withdrawals. Each user gets exactly one wallet tied to their account, with a dedicated address on each supported chain. Supported networks: polygon, arbitrum, base, tron, solana Supported tokens: USDT, USDC

Create Wallet

Each user can only have one wallet. Calling this endpoint when a wallet already exists returns a 409 error.
Endpoint
On success, a wallet is provisioned with an address on each supported chain, and the addresses are registered for deposit monitoring automatically. Response
  • address is used for EVM-compatible networks (polygon, arbitrum, base).
  • tronAddress is used for the tron network.
  • solanaAddress is used for the solana network.

Get Balance

Endpoint
Returns token balances for all network/token pairs, plus a totalBalance summary across all networks for each token. When available is false, that token is not yet supported on that network — treat the balance as 0 and do not display it to users. Response
Filter to available: true entries before rendering balances in your UI. Use totalBalance when you just need an aggregate figure per token.

Withdraw

Endpoint
Initiates an on-chain token transfer from the user’s wallet to an external address. The transaction is recorded immediately with a PROCESSING status and confirmed asynchronously via webhook.
A fee is deducted from every withdrawal. The fee amount is returned in the response and is charged in addition to the withdrawal amount.
Request Body Example Request
Response
The API validates that sufficient balance exists to cover both the amount and the fee before broadcasting. Attempting to withdraw more than the available balance returns an error.

Transaction History

Endpoint
Returns a paginated list of all stable currency transactions (deposits and withdrawals) for the authenticated user. Query Parameters Response

Get Single Transaction

Endpoint
Fetches a single transaction by its ID. The transaction must belong to the authenticated user. Path Parameters Response
fee is only present on WITHDRAWAL transactions.

Dev: Fund Wallet

This endpoint is only available in non-production environments. Calling it in production returns a 400 error.
Endpoint
Seeds a wallet with test tokens from the treasury wallet. Useful for simulating deposits with a real on-chain transaction. Capped at 1000 per request. Request Body Example Request
Response

Transaction Statuses