Skip to main content
PUT
/
v1
/
tx-subscriptions
/
{subscription_id}
/
wallets
Replace wallets within subscription
curl --request PUT \
  --url https://api.zerion.io/v1/tx-subscriptions/{subscription_id}/wallets \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "wallets": [
    "0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"
  ]
}
'
{
  "errors": [
    {
      "title": "Parameter is malformed",
      "detail": "Some validation errors will be described here"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

subscription_id
string
required

ID of the subscription

Example:

"77e77447-1586-40e8-a75b-467ef939a0b1"

Body

application/json
wallets
string[]

Addresses of the wallets to replace current list with

Address of the wallet.

Response

Successful callback processing