v1

latestOpenAPI 3.0.32026-07-2639188178.2 KB
subscriptions to transactions

Find wallets within subscription

This endpoint by subscription ID returns wallets within specific subscription.

NOTE: Consider all IDs as abstract strings, without making any assumptions about their format or relying on such assumptions. There is a non-zero probability that IDs may change in the future, and this should not result in any breaking changes.

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

Path parameters

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

ID of the subscription

Query parameters

afterstring nullable

This field is used for result pagination. You SHOULD NOT use this parameter directly. To get the next page of the results you should use links.next field. Omit it to return the first page.

sizeinteger

Set maximum number of items per a page in the pagination.

Pagination parameters

Response

Response for wallets 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",
    "id": "52d994a173d755e99845e861d534a419-wallets",
    "attributes": {
      "addresses": [
        "0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"
      ]
    },
    "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"
        }
      }
    }
  }
}