subscriptions to transactions

Count wallets within subscription

Returns the number of wallets in a subscription. Use this instead of listing the wallets when you only need the total.

See also: Resource IDs

get/v1/tx-subscriptions/{subscription_id}/wallets/count

Request

  • Base URL
    https://api.zerion.io
  • URL
    https://api.zerion.io/v1/tx-subscriptions/{subscription_id}/wallets/count
  • Auth
    HTTP basic

Path parameters

subscription_idstring required
Example:77e77447-1586-40e8-a75b-467ef939a0b1

ID of the subscription.

Response

Response for wallets count within subscription

Example response

{
  "links": {
    "self": "https://api.zerion.io/v1/tx-subscriptions/77e77447-1586-40e8-a75b-467ef939a0b1/wallets?page%5Bsize%5D=10",
    "next": "https://api.zerion.io/v1/tx-subscriptions/77e77447-1586-40e8-a75b-467ef939a0b1/wallets?page%5Bsize%5D=10&page%5Bafter%5D=MjAyNS0xMC0wMVQxMjowNzo1NlosNjhkZDE5OWMyMDFlODI3ODQzZmZkN2Jl"
  },
  "data": {
    "type": "transactions_subscription_wallets_count",
    "id": "52d994a173d755e99845e861d534a419-wallets-count",
    "attributes": {
      "count": 42
    },
    "relationships": {
      "subscription": {
        "links": {
          "self": "https://api.zerion.io/v1/tx-subscriptions/8bf9db31-eb59-4fa9-973c-34e3428acf5d/wallets?page%5Bsize%5D=10",
          "next": "https://api.zerion.io/v1/tx-subscriptions/8bf9db31-eb59-4fa9-973c-34e3428acf5d/wallets?page%5Bsize%5D=10&page%5Bafter%5D=MjAyNS0xMC0wMVQxMjowNzo1NlosNjhkZDE5OWMyMDFlODI3ODQzZmZkN2Jl",
          "related": "https://api.zerion.io/v1/tx-subscriptions/8bf9db31-eb59-4fa9-973c-34e3428acf5d"
        },
        "data": {
          "type": "subscription",
          "id": "8bf9db31-eb59-4fa9-973c-34e3428acf5d"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.