v1

latestOpenAPI 3.0.32026-07-2639188178.2 KB
subscriptions to transactions

Find subscription by ID

This endpoint by ID returns subscription to new transactions associated with the wallets and chains.

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}

Path parameters

subscription_idstring required

ID of the subscription

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"
          }
        }
      ]
    }
  }
}