Skip to content
Sign up

Earn

Switch Auto Earn

Switch Auto Earn on or off. Switching it off always works.

POST/api/v1/earn/autoGet a key
curl --request POST \
  --url "https://reirex.com/api/v1/earn/auto" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE" \
  --header "Content-Type: application/json" \
  --data '{"on":true}'

200 OKapplication/json

{
  "on": true,
  "currencies": [
    {
      "currency": "EUR",
      "apr": "0.0260"
    },
    {
      "currency": "USDT",
      "apr": "0.0420"
    },
    {
      "currency": "USDC",
      "apr": "0.0400"
    }
  ]
}

Bodyapplication/json

  • onbooleanrequired

    true to switch it on, false to switch it off.

Response

  • onboolean

    Whether Auto Earn is on.

  • currenciesobject[]

    What it pays on, each at its own rate.