v1
latestOpenAPI 3.0.32026-07-2639188178.2 KBsubscriptions to transactions
Count wallets within subscription
This endpoint returns the count of wallets within a specific subscription by subscription ID.
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/count
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"
}
}
}
}
}