Walle.to Public API
Simple HTTPS endpoints that power wallet creation, balances, fees and sending.
Get started
Use the production base:
Tip: In a browser, use fetch with Content-Type: application/json for POSTs and query strings for GETs.
Base URL
All endpoints live under:
Conventions
seedPhrase: BIP‑39 mnemonic string (keep secret).index: HD pathm/44'/60'/0'/0/<index>. Default0.address: EVM checksum address0x...for read‑only queries.- Amounts:
amountEthis a decimal string (e.g."0.001"); USDTamountuses 6 decimals (e.g."1"). - All endpoints return JSON; big integers are strings (e.g., wei).
Create wallet
Generate a new wallet with index 0.
Get balances
Read ETH and USDT balances for a derived address. Provide either seedPhrase (+ optional index) or an address.
Portfolio (USD)
Fetch USD values and price source.
Network fees
Get current gas price estimates.
Send ETH
Send USDT
Errors
Validation errors use a simple shape:
Transfers may also include details like balance and required (in wei) when insufficient funds are detected.
Endpoint summary
POST /api/wallet— create wallet (seed + address)GET /api/wallet— balances byseedPhrase/indexoraddressGET /api/wallet/portfolio— balances + USD valuesGET /api/fees— current gas price metricsPOST /api/send-eth— send ETHPOST /api/send-usdt— send USDT
Interactive Swagger is available at /docs on the API server.
Note: The client is untrusted; never embed secrets in the browser. Use HTTPS, validate all inputs server‑side, and rate limit public endpoints.