Get All Webhooks
Programatically retrieve all your Helius webhooks.
Last updated
Was this helpful?
Programatically retrieve all your Helius webhooks.
Last updated
Was this helpful?
Due to response size limitations, the number of returned addresses per configuration is capped at 100. To access the complete list of addresses, use our endpoint.
const getWebhooks = async () => {
try {
const response = await fetch(
"https://api.helius.xyz/v0/webhooks?api-key=<PASTE YOUR API KEY HERE>",
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
}
}
);
const data = await response.json();
console.log({ data });
} catch (e) {
console.error("error", e);
}
};
getWebhooks();
The api key.
GET /v0/webhooks HTTP/1.1
Host: api.helius.xyz
Authorization: Basic username:password
Accept: */*
[
{
"webhookID": "text",
"wallet": "text",
"webhookURL": "text",
"transactionTypes": [
"UNKNOWN"
],
"accountAddresses": [
"text"
],
"webhookType": "text",
"txnStatus": "all",
"authHeader": "text"
}
]