subscriptions to transactions

Patch wallets within subscription

Patches the wallet list of a subscription, leaving wallets you don't mention untouched. To replace the list outright, use PUT instead.

See also: Resource IDs

patch/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

addstring[]

Wallet addresses to add to the subscription, up to 100 per request.

removestring[]

Wallet addresses to remove from the subscription, up to 100 per request.

Example request

{
  "add": [
    "0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"
  ],
  "remove": [
    "0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"
  ]
}

Response

Wallet list updated.

Changes

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