PUT atomically replaces the entire address list for a subscription. All existing addresses are removed and the new list is applied in their place. Use this when you want to set the canonical list of addresses from an authoritative source. For incremental changes — adding a few addresses or removing specific ones — use PATCH instead.Documentation Index
Fetch the complete documentation index at: https://docs.offthehook.dev/llms.txt
Use this file to discover all available pages before exploring further.
Request
Path parameters
The subscription ID (e.g.
sub_2QkP9aB7xN...).Body
A JSON array of address objects to set as the new filter list. Send an empty array[] to clear all addresses.
CAIP-2 chain identifier. Supported values:
tron:mainnet, tron:nile, tron:shasta.Base58check-encoded TRON address (starts with
T).Response
200 OK — the updated subscription resource with the new address list reflected infilters.addresses.
Errors
| Code | HTTP | Description |
|---|---|---|
not_found | 404 | The subscription ID does not exist or belongs to a different API key. |
invalid_address | 400 | One or more addresses failed base58check validation. |
invalid_chain | 400 | One or more chainId values are not recognized. |
chain_not_enabled | 400 | The chainId is valid but not currently enabled on this account. |
addresses_limit_exceeded | 400 | The provided array exceeds the per-request size limit. |
unauthorized | 401 | The Authorization header is missing or the key is invalid. |