Developers
Open app
Get started

Deposits and withdrawals

Cash is USDC in the user's Hyperliquid spot balance, on their own wallet. Slay never holds it.

Crypto in. GET /deposit-networks lists the networks and coins. GET /deposit-address/{network} returns the user's deposit address for that network (one address for every EVM network; Solana when it's enabled), which belongs to this user only: whatever lands there is converted to USDC on Hyperliquid and credited to *their* wallet (each address is bound to the wallet it was made for). GET /deposit-address/{network}/activity follows what was sent to it; a coin that's waiting is picked up automatically.

Card, Apple Pay, Google Pay. GET /funding says whether cards are offered where the visitor is and which provider is live (provider). With Crossmint, POST /card/order returns an embedded-checkout URL and GET /card/orders/{id} follows the order; the USDC lands in the user's Cash (rail hyperliquid, through their deposit address) or their wallet on Polygon (rail polygon). With Swapped, POST /swapped/url returns a signed widget URL that sends USDC to the user's Hyperliquid address or Polygon wallet.

History. GET /deposits lists the last 20 converted deposits with their status (waiting, pending, success, failure, refund). A refund goes back to the wallet it came from.

Withdrawals (when GET /withdraw/enabled says so): 1. POST /withdraw/quote with { chainId, to, usd, token? } returns steps (minimum $2; a Slay deposit address is refused as the destination). token can be USDT, or PUSD on Polygon to fund the user's Polymarket wallet. 2. The user's wallet signs the authorize step (EIP-712); send the step's body and the signature to POST /withdraw/authorize, which checks it's the user's own wallet and passes it on. 3. The wallet sends the deposit step's Hyperliquid sendAsset with the given nonce. Poll the step's check endpoint until success.

GET /withdrawals lists the last 20; GET / POST /withdraw/addresses keep the user's saved destinations.