API Reference
Web3 API
- Basic API
- Balance API
- Token API
- NFT API
- Domain API
SQL API
- Alpha
- Classic(Deprecated)
Webhook API
Get Webhook
Get specific webhook info
GET
/
webhooks
/
{webhook_id}
curl --request GET \
--url https://api.chainbase.online/v1/webhooks/{webhook_id} \
--header 'x-api-key: <x-api-key>'
"{\"code\":0,\"msg\":\"ok\",\"data\":{\"total\":1,\"data\":[{\"webhook_id\":\"cebcd999-882c-4279-ab60-10e85dfd8610\",\"filters\":[{\"field\":\"contract_address\",\"values\":[\"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\",\"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599\",\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"0xdAC17F958D2ee523a2206206994597C13D831ec7\"]}],\"webhook_name\":\"massive-erc20-transfer\",\"webhook_url\":\"https://gtsfh5g3c4.hk.aircode.run/erc20transfer\",\"data_source\":\"polygon_logs\",\"additional_headers\":[{\"name\":\"Authorization\",\"value\":\"Bearer xyz\"}],\"created_at\":\"2023-08-28T08:58:31.529726Z\",\"updated_at\":\"2023-08-28T09:00:19.129449Z\",\"status\":\"deactivated\"}]}}"
Headers
YOUR-API-KEY
Path Parameters
Webhook ID to be queried
Response
200
application/json
200
curl --request GET \
--url https://api.chainbase.online/v1/webhooks/{webhook_id} \
--header 'x-api-key: <x-api-key>'
"{\"code\":0,\"msg\":\"ok\",\"data\":{\"total\":1,\"data\":[{\"webhook_id\":\"cebcd999-882c-4279-ab60-10e85dfd8610\",\"filters\":[{\"field\":\"contract_address\",\"values\":[\"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\",\"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599\",\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"0xdAC17F958D2ee523a2206206994597C13D831ec7\"]}],\"webhook_name\":\"massive-erc20-transfer\",\"webhook_url\":\"https://gtsfh5g3c4.hk.aircode.run/erc20transfer\",\"data_source\":\"polygon_logs\",\"additional_headers\":[{\"name\":\"Authorization\",\"value\":\"Bearer xyz\"}],\"created_at\":\"2023-08-28T08:58:31.529726Z\",\"updated_at\":\"2023-08-28T09:00:19.129449Z\",\"status\":\"deactivated\"}]}}"