Add / Remove Addresses

Add / Remove Addresses - Webhooks API

Add / Remove Addresses - Adds and removes watched addresses of a subscription

Add / Remove Addresses - [Value: 20CU]
Adds and removes addresses in one call and returns the updated Subscription object. Its address_count reflects the change; the addresses are not echoed back
PATCH https://lb.drpc.live/lambda/{key}/v1/webhooks/subscriptions/{id}/wallets
Use cases

Use cases

  • Start watching new addresses in an existing subscription
  • Stop watching addresses in a subscription
Constraints

Constraints

  • Up to 100 addresses per call, add and remove together
  • Token contracts and blocklisted addresses return 422
  • Staking: removing an address drops its unpublished payouts
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request PATCH \
  --url https://lb.drpc.live/lambda/{key}/v1/webhooks/subscriptions/0450d9f4-304f-420f-9b49-3625d9c52c1f/wallets \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{
  "add": [
    "0x8f3a1c2b9d4e5f60718293a4b5c6d7e8f9012345"
  ],
  "remove": [
    "0x04fC43d86DEee3185B77f0D520D8932462814e02"
  ]
}'
Copy
Response
200
{
  "id": "0450d9f4-304f-420f-9b49-3625d9c52c1f",
  "callback_url": "https://example.com/hooks/lambda",
  "status": "enabled",
  "chain_ids": [
    "ethereum",
    "base"
  ],
  "filters": {},
  "address_count": 1,
  "created_at": "2026-09-21T12:52:46.024339Z",
  "updated_at": "2026-09-22T09:20:41.103552Z"
}
Copy

Path params

Parameters
keystring
[Required] Your dRPC API key
idstring
[Required] Subscription id (UUID) returned on create

Query params

ParametersThis method does not accept any parameters.

Request params

Parametersobject
object
addarray_of_strings
Addresses to start watching. New addresses get activated_at = now; addresses you add back keep their old one
removearray_of_strings
Addresses to stop watching

Response

200

Response params

object
idstring
[Required] Subscription id (UUID)
callback_urlstring
[Required] HTTPS URL that receives signed POST deliveries
statusstring
[Required] Only enabled subscriptions get deliveries
chain_idsarray_of_strings
[Required] Lowercase chain slugs. [] means every supported chain, including future ones
filtersobject
[Required] Subscription filters. {} when none are set
address_countinteger
[Required] How many addresses the subscription watches. The list itself is never inlined; use List Addresses
created_atstring
[Required] Creation time, ISO 8601
updated_atstring
[Required] Last update time, ISO 8601