Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
secret
GetWebhookListener
POST
/
rpc
/
Indexer
/
GetWebhookListener
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/GetWebhookListener \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 160497579,
"projectId": 31396
}'
{
"listener": {
"id": 160497579,
"projectID": 31396,
"url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0",
"filters": {
"events": [
"Transfer(address indexed from,address indexed to,uint256 indexed tokenId)"
],
"contractAddresses": [
"0x9bec34c1f7098e278afd48fedcf13355b854364a"
],
"accounts": [
"0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4"
],
"tokenIDs": null
},
"name": "webhook.site #a84730",
"updatedAt": "2024-10-10T20:37:01.685037632Z",
"active": true
}
}
Authorizations
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
Response
200
application/json
OK
Was this page helpful?
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/GetWebhookListener \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 160497579,
"projectId": 31396
}'
{
"listener": {
"id": 160497579,
"projectID": 31396,
"url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0",
"filters": {
"events": [
"Transfer(address indexed from,address indexed to,uint256 indexed tokenId)"
],
"contractAddresses": [
"0x9bec34c1f7098e278afd48fedcf13355b854364a"
],
"accounts": [
"0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4"
],
"tokenIDs": null
},
"name": "webhook.site #a84730",
"updatedAt": "2024-10-10T20:37:01.685037632Z",
"active": true
}
}