Assets & Networks

Every asset the Hodle API supports, the networks it lives on, and which endpoints can move it.

One table per direction. asset and network are always validated together: an unsupported pair returns 400, and an asset behind a feature flag returns 403 rather than silently falling back to another asset.

On-ramp — POST /api/deposit/asset

BRL (PIX) in, crypto out to any address you pass.

AssetNetworksAddress format
LIGHTNINGlightningBOLT11 invoice or LNURL email
BTCbitcoinBitcoin address
USDTpolygon, arbitrumEVM address (0x...)
USDCpolygon, base, gnosisEVM address (0x...)
USDCEgnosisEVM address (0x...)
BRLApolygon, baseEVM address (0x...)
DEPIXliquidLiquid address
LBTCliquidLiquid address

BRS is not available on this endpoint — it is minted only to the user's own Hodle Solana wallet. See BRS.

Transfer — POST /api/wallet/transfer

Move a balance the user already holds to another Hodle wallet or an external address. Gas is sponsored.

NetworkAssetsDefaultNotes
polygonUSDT, USDC, BRLAUSDTUSDT is ledger-backed
baseUSDC, BRLA
solanaUSDT, USDC, BRSSPL transferChecked; BRS needs NORA_RAIL

Off-ramp — POST /api/wallet/payout

Balance in, BRL (PIX) out.

NetworkAssetsDefaultNotes
polygonUSDT, BRLAUSDT
baseUSDC, BRLAUSDC
tronUSDTUSDTasset ignored; needs TRON_PAYOUT
solanaUSDT, USDC, BRSUSDTBRS needs NORA_RAIL

Lightning off-ramp is a separate endpoint — /api/lightning/invoice.

BRL-pegged vs USD-pegged

AssetPegConversion to the PIX amount
BRLABRL1:1, no FX
BRSBRL1:1, no FX — see BRS
DEPIXBRL1:1, no FX
USDTUSDConverted at the current BRL rate (quote)
USDCUSDConverted at the current BRL rate (quote)
USDCEUSDConverted at the current BRL rate (quote)

Assets behind a feature flag

Asset / networkFlag required (on top of WALLET_PAYOUT_API)Without it
BRS (solana)NORA_RAIL403
USDT (tron)TRON_PAYOUT403

Contact Hodle to enable a flag on an account.

Balances

POST /api/wallet/get returns addresses and balances for polygon, base, tron, liquid and spark. Solana addresses and BRS balances are not exposed there yet — read them on-chain from the user's Solana address, or reconcile through the account statement.

Sandbox

The sandbox settles on Base Sepolia with a test token (USDB). Solana — and therefore BRS — is production-only.