v1

latestOpenAPI 3.0.32026-07-2639188178.2 KB
subscriptions to transactions

Find subscriptions

This endpoint finds subscriptions to new transactions associated with the wallets and chains. Currently response is limited to 1000 subscriptions in the response.

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/

Query parameters

filter[chain_ids]string[]

Comma-separated chain ids. Finds subscriptions on the specified chains. Searches over all chains if omitted.

[
  "polygon"
]

Response

Response for requested wallet's transactions subscription

Example response

{
  "data": [
    {
      "type": "transactions_subscription",
      "id": "52d994a173d755e99845e861d534a419",
      "attributes": {
        "callback_url": "https://webhook.site/fcd606d2-f5bd-4832-9874-ff07c980b5a3",
        "created_at": "2022-08-15T11:26:31+00:00",
        "updated_at": "2022-08-15T11:26:31+00:00"
      },
      "relationships": {
        "chains": [
          {
            "links": {
              "related": "https://api.zerion.io/v1/chains/polygon"
            },
            "data": {
              "type": "chains",
              "id": "polygon"
            }
          }
        ]
      }
    }
  ]
}