Token
Create a new webhook
Changed onCreates a webhook subscription for a chain to receive real-time token scan updates.
post/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
added the optional property
to the response with the status
- info
- warning
added the new
arcenum value to theresponse property for the response status - info
added the new enum value
arcto thepathrequest parameterchain
- warning