Token
Update a webhook
Changed onUpdates an existing webhook subscription in place. Only the provided fields are changed; omitted fields keep their current value. filter replaces the hook's entire filter (token-address or token-type) in one call. For a token-address filter specifically, add_token_addresses/remove_token_addresses let you adjust the address list incrementally without resending it; they are mutually exclusive with filter and only valid when the existing (or resulting) filter is a token-address filter.
patch/v0/token/hooks/{chain}
Request
- Base URLhttps://api.blockaid.io
- Auth
- API key in header X-API-Key
- or API key in header X-CLIENT-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chain'arbitrum' | 'avalanche' | 'base' | 'bsc' | 'ethereum' | 'optimism' | 'polygon' | 'zora' | 'solana' | 'starknet' | 'starknet-sepolia' | 'stellar' | 'linea' | 'degen' | 'zksync' | 'scroll' | 'blast' | 'soneium-minato' | 'base-sepolia' | 'bitcoin' | 'abstract' | 'soneium' | 'ink' | 'berachain' | 'unichain' | 'ronin' | 'sui' | 'hedera' | 'hyperevm' | 'xlayer' | 'monad' | 'megaeth' | 'tempo' | 'sei' | 'kaia' | 'tron' | 'robinhood' | 'flare' | 'arc' required
The chain name
Request body
Response
Successful Response
Changes
- info
endpoint added
- info