Deposits

GET /deposits

Retrieve your deposits. Requires a valid API key sent with the x-api-key header.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code integer

      Response code

    • msg string

      Diagnostic message

    • result array[object]

      Deposit

      Hide result attributes Show result attributes object
      • address string

        Address of deposit

      • Your unique Account ID

      • asset string

        Asset of deposit

      • time number

        Time of deposit

      • qty number

        Quantity of deposit

      • net number

        Net Quantity of deposit. Net Quantity = Quantity - Fee.

      • status string

        Status of deposit. Can be PENDING or COMPLETED.

      • id string

        Unique identifier of deposit.

      • qty_usd number

        USD quantity of deposit, at time of deposit.

      • Blockchain transaction associated with the deposit

        Hide transaction attributes Show transaction attributes object
        • hash string

          Transaction hash

        • from string

          Sender of transaction

  • 503 application/json

    Error

    Hide response attributes Show response attributes object
GET /deposits
curl \
 -X GET https://api.testnet.everstrike.io/deposits \
 -H "x-api-key: $API_KEY"
Response examples (200)
{
  "code": 200,
  "msg": "null",
  "result": [
    {
      "id": "ETH0x4bab116ba887eeb9192a1b282766e58dfba65abf1d79548aad0636b89a21a7c3",
      "net": 0.1,
      "qty": 0.1,
      "time": 1551120600023,
      "asset": "ETH",
      "status": "COMPLETED",
      "address": 826725522658159800000000000000000000000000000000,
      "net_usd": 14.0765238158,
      "qty_usd": 14.218710925,
      "customer_id": "5f9ca5f0380e11e9bf5191a076098e19",
      "transaction": {
        "from": 904896849601772900000000000000000000000000000000,
        "hash": 34225714723972660000000000000000000000000000000000000000000000000000000000000
      }
    }
  ]
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}