subscriptions to transactions

Find subscription by ID

Changed on

Returns a single transaction subscription by its ID, including the wallets and chains it covers.

See also: Resource IDs

get/v1/tx-subscriptions/{subscription_id}

Request

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

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",
      "filters": {
        "exclude": {
          "types": [
            "send"
          ],
          "is_spam": true,
          "protocol_ids": [
            "uniswap-v3"
          ],
          "addresses": [
            "0x0000000000000000000000000000000000000001"
          ]
        }
      }
    },
    "relationships": {
      "chains": [
        {
          "links": {
            "related": "https://api.zerion.io/v1/chains/polygon"
          },
          "data": {
            "type": "chains",
            "id": "polygon"
          }
        }
      ]
    }
  }
}

Changes