Skip to main content

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

Loading...

Updated on
Jul 28, 2025

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

Body Parameters

network
string
REQUIRED
Loading...
block
string
REQUIRED
Loading...
filter_function
string
REQUIRED
Loading...

Returns

filtered_data
object
Loading...
block
string
Loading...
network
string
Loading...
Request
1
curl -X POST \
2
"https://api.quicknode.com/webhooks/rest/v1/webhooks/test_filter" \
3
-H "accept: application/json" \
4
-H "Content-Type: application/json" \
5
-H "x-api-key: YOUR_API_KEY" \
6
-d $'{
7
"network": "ethereum-mainnet",
8
"block": "17811625",
9
"filter_function": "ZnVuY3Rpb24gbWFpbihwYXlsb2FkKSB7CiAgY29uc3QgewogICAgZGF0YSwKICAgIG1ldGFkYXRhLAogIH0gPSBwYXlsb2FkOwoKICAvLyBsb2dpYyB0byBmaWx0ZXIgZGF0YQoKICByZXR1cm4gcGF5bG9hZDsKfQ=="
10
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free