Listing channel deposits

GET /api/public/v1/channels/:id/transactions

This endpoint returns a paginated list of deposits for a specific channel.

Headers

Body

Query Parameters

Response

{
  "data": [
    {
      "id": "01426edd-b07b-4a00-8583-3232c0bb9fd8",
      "type": "channelTransactions",
      "attributes": {
        "createdAt": "2024-09-25T09:37:18.154Z",
        "updatedAt": "2024-09-25T09:37:18.154Z",
        "hash": "572f204f9d6b80e94b973a0f3b9c7fc4ddcc27f33ee21f62dc70ff54f0cc3a40",
        "address": "TJTuEYJ8P9to4Zhdw7zg55VPH3gzLaQDV6",
        "networkCode": "ttrx:usdt",
        "networkName": "Tron (TRC20)",
        "amount": "48.97",
        "amountCurrency": "USD",
        "payAmount": "50.000000",
        "payCurrency": "USDT",
        "exchangeRate": "0.9891981",
        "fee": "0.49",
        "feeCurrency": "USD",
        "status": "completed",
        "channelId": "60e05bc0-4690-4985-a08a-8acf00e48294",
        "reference": "ecd05fb9-76e6-42e7-b86e-5a7e18f4da6d"
      }
    }
  ],
  "meta": {
    "page": "1",
    "per_page": "1",
    "total": 10
  },
  "jsonapi": {
    "version": "1.0"
  }
}

Response Body

Last updated