Deposits
My deposit address on a network
GET
/deposit-address/{network}Requires a session: Authorization: Bearer <token>Limit: 30 / 10 min per user
The user's own Relay deposit address on network, created the first time and kept. Any coin the network accepts (see /deposit-networks), sent from any wallet or exchange, is converted and lands in the user's Cash as USDC. No gas, no signing.
Request
curl -X GET 'https://api.slay.money/api/predict/deposit-address/8453' \ -H 'Authorization: Bearer $SLAY_TOKEN'
Parameters
networkstring · pathrequiredA chain id from
/deposit-networks (e.g. 8453 for Base). The names base, hyperliquid, ethereum and polygon also work. e.g. 8453Responses
200The address.
networkintegerThe chain id.
addressstring200 response
{
"network": 8453,
"address": "0x0a1408a74930bf40d675e6cfa2e98306932bba36"
}400Unsupported network.
400 response
{
"error": "That network isn't supported."
}401No valid session. Sign in again.
401 response
{
"error": "Sign in first"
}403The account is suspended.
403 response
{
"error": "This account has been suspended for violating Slay's terms.",
"code": "ACCOUNT_BANNED"
}409No wallet yet.
409 response
{
"error": "Set up your wallet first"
}429Rate limit reached. Wait for the window to pass.
429 response
{
"error": "Too many requests. Wait a moment."
}502Relay couldn't create the address.
502 response
{
"error": "Couldn't get a deposit address right now. Try again."
}