Custom Webhooks GraphQL Examples
List of sample GraphQL queries that Alchemy supports
To utilize Alchemy’s GraphQL webhook playground, feel free to use Alchemy’s handy dashboard tool. Follow along our guide for more information!
To help developers understand the type of queries that Alchemy’s Custom Webhooks can support, we’ve included some key examples that you can run on your own quickly! Feel free to use the Alchemy Notify template carousel to get started with queries that you can build off of.
When testing Alchemy’s Custom Webhooks on different networks and chains, make sure you change the block hash and associated log/transaction information to match each blockchain’s on-chain data!
Ethereum Custom Webhook GraphQL Templates:
Mainnet
-
Action:
Bored Ape NFT Activity
- Get all events emitted by the Bored Ape NFT contract
Action:
USDC Approvals
- Get all Approval() events emitted by the USDC contract
Action:
Staked Aave Reward Claiming Events
- Get all RewardsClaimed() events emitted by the Staked Aave (stkAAVE) contract
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
Action:
Blur Sale Events
- Get all ordersMatched() events emitted by Blur
- Get all events emitted by the Bored Ape NFT contract
Georli
-
Action:
MultiFaucet (Paradigm) NFT Activity
- Get all events emitted by the MultiFaucet (Paradigm) NFT Activity on Georli Testnet
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
- Get all events emitted by the MultiFaucet (Paradigm) NFT Activity on Georli Testnet
Polygon PoS Custom Webhook GraphQL Templates:
Mainnet
-
Action:
PlanetIX NFT Activity
- Get all events emitted by the PlanetIX NFT
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
- Get all events emitted by the PlanetIX NFT
Mumbai
-
Action:
MultiFaucet (Paradigm) NFT Activity
- Get all events emitted by the MultiFaucet (Paradigm) NFT Activity on Mumbai Testnet
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
- Get all events emitted by the MultiFaucet (Paradigm) NFT Activity on Mumbai Testnet
Arbitrum Custom Webhook GraphQL Templates:
Mainnet
-
Action:
Arbitrum Odyssey NFT Activity
- Get all events emitted by Arbitrum Odyssey NFTs
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
- Get all events emitted by Arbitrum Odyssey NFTs
Georli
-
Action:
Gravity SmolBrain Testnet NFT Activity
- Get all events emitted by the Gravity SmolBrain Testnet NFT
- Get all events emitted by the Gravity SmolBrain Testnet NFT
Optimism Custom Webhook GraphQL Templates:
Mainnet
-
Action:
UNI-V3-POS NFT Activity
- Get all events emitted by the UNI-V3-POS NFT
Action:
Uniswap Swap Events
- Get all swap() events emitted by a UniswapV3Pool
Action:
DAI Approvals
- Get all Approval() events emitted by the DAI contract
- Get all events emitted by the UNI-V3-POS NFT
Mainnet
-
Action:
MultiFaucet (Paradigm) NFT Activity
- Get all events emitted by the MultiFaucet (Paradigm) NFTs
Action:
DAI Approvals
- Get all Approval() events emitted by the DAI contract
- Get all events emitted by the MultiFaucet (Paradigm) NFTs