Skip to main content

/webhooks/rest/v1/webhooks/test-filter REST API Endpoint

Test a filter function against blockchain data.

Updated on
Jul 28, 2025

/webhooks/rest/v1/webhooks/test-filter REST API Endpoint

Body Parameters

network
string
REQUIRED
The network to test the filter against. ENUM: "abstract-mainnet", "abstract-testnet", "arbitrum-mainnet", "arbitrum-sepolia", "avalanche-fuji", "avalanche-mainnet", "b3-mainnet", "b3-sepolia", "base-mainnet", "base-sepolia", "bera-mainnet", "bera-bepolia", "bitcoin-mainnet", "blast-mainnet", "blast-sepolia", "bnbchain-mainnet", "bnbchain-testnet", "celo-mainnet", "cyber-mainnet", "cyber-sepolia", "ethereum-holesky", "ethereum-hoodi", "ethereum-mainnet", "ethereum-sepolia", "fantom-mainnet", "flow-mainnet", "flow-testnet", "fuse-flash", "gnosis-mainnet", "gravity-alpham", "hedera-mainnet", "hedera-testnet", "hemi-mainnet", "hemi-testnet", "imx-mainnet", "imx-testnet", "injective-mainnet", "injective-testnet", "ink-mainnet", "ink-sepolia", "joc-mainnet", "kaia-mainnet", "kaia-testnet", "lens-mainnet", "lens-testnet", "linea-mainnet", "mantle-mainnet", "mantle-sepolia", "monad-testnet", "morph-holesky", "morph-mainnet", "nova-mainnet", "omni-mainnet", "omni-omega", "optimism-mainnet", "optimism-sepolia", "peaq-mainnet", "plasma-testnet", "polygon-amoy", "polygon-mainnet", "race-mainnet", "race-testnet", "sahara-testnet", "scroll-mainnet", "scroll-testnet", "sei-mainnet", "sei-testnet", "solana-devnet", "solana-mainnet", "solana-testnet", "soneium-mainnet", "sophon-mainnet", "sophon-testnet", "story-aeneid", "story-mainnet", "tron-mainnet", "unichain-mainnet", "unichain-sepolia", "vana-mainnet", "vana-moksha", "worldchain-mainnet", "worldchain-sepolia", "xai-mainnet", "xai-sepolia", "zerog-galileo", "zkevm-cardona", "zkevm-mainnet", "zksync-mainnet", "zksync-sepolia", "zora-mainnet"
block
string
REQUIRED
The block number to test the filter against.
filter_function
string
REQUIRED
JS/ECMAScript compliant filter encoded in base64.

Returns

filtered_data
object
The filtered data from the test block.
block
string
The block number that was tested.
network
string
The network that was tested.
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free