Developers
Open app
Withdrawals

Remember a destination

POST/withdraw/addresses
Requires a session: Authorization: Bearer <token>Limit: 30 / 10 min per user

Saves an address after a withdrawal to it (or bumps it to the top if already saved).

Request

curl -X POST 'https://api.slay.money/api/predict/withdraw/addresses' \
  -H 'Authorization: Bearer $SLAY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"address":"string","chainId":0}'

Body

addressstringrequired
chainIdintegerrequired

Responses

200Saved.
okboolean
200 response
{
  "ok": true
}
400Bad address or network.
400 response
{
  "error": "That isn't a valid address."
}
401No valid session. Sign in again.
401 response
{
  "error": "Sign in first"
}
429Rate limit reached. Wait for the window to pass.
429 response
{
  "error": "Too many requests. Wait a moment."
}