subscriptions to transactions

Replace wallets within subscription

Replaces the wallet list of a subscription. Any wallet missing from the request is unsubscribed. To add or remove individual wallets, use PATCH instead.

See also: Resource IDs

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

Request

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

Path parameters

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

ID of the subscription.

Request body

walletsstring[]

Wallet addresses to replace the current list with.

Example request

{
  "wallets": [
    "0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"
  ]
}

Response

Wallet list updated.

Changes

No recorded changes to this operation across all 3 revisions of this API.