RathRath Finance
API Reference

Get Tachyon account information

Returns balance, configuration, and pending-cost information for a Tachyon account.

GET
/api/user

Query Parameters

address*string

Wallet address associated with the Tachyon account to retrieve.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://tachyon.rath.fi/api/user?address=string"
{
  "success": true,
  "data": {
    "userId": "string",
    "address": "string",
    "availableBalance": 0,
    "pendingBalance": 0,
    "disabled": true,
    "defaultTachyonAccount": {
      "address": "string",
      "token": {
        "address": "string",
        "symbol": "string",
        "decimals": 0,
        "name": "string",
        "iconUrl": "string"
      },
      "chainId": 0
    },
    "userConfig": {
      "perTxLimit": 0,
      "dailyLimit": 0,
      "dailyAmountConsumed": 0,
      "dailyAmountUpdatedAt": "2019-08-24T14:15:22Z",
      "disabledChainIds": [
        0
      ],
      "maxRetries": 0,
      "circuitBreakerEnabled": true,
      "failureCountStreakLimit": 0,
      "failureCountStreak": 0,
      "balanceConfig": {},
      "notifiers": [
        {}
      ],
      "ipWhitelist": [
        "string"
      ],
      "domainWhitelist": [
        "string"
      ],
      "toAddressWhitelist": null,
      "functionSelectorWhitelist": {},
      "rateLimit": {},
      "isDisabled": true
    }
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}