-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Endpoint does not work (at least for cluster devnet
)
#157
Comments
bump this |
my cluster registration for devnet is having issues for webhooks |
gm @IsaacGluck! I apologize for the inconvenience. Are you still running into this issue? What calls are you making on devnet? |
Hey @0xIchigo thanks for getting back to me. I wasn't able to make any calls to the api via the It looks like under the hood the For example:const helius = new Helius(process.env.HELIUS_API_KEY, 'devnet');
await helius.getAllWebhooks();
VSconst HELIUS_BASE_URL = 'https://api.helius.xyz/v0';
const heliusGet = <QueryParams, ReponseBody>(
route: string,
params?: QueryParams
): Promise<AxiosResponse<ReponseBody>> => axios.get<ReponseBody>(HELIUS_BASE_URL + route, {
headers: HELIUS_HEADERS,
params: {
'api-key': process.env.HELIUS_API_KEY,
...params
},
});
await heliusGet<void, Webhook[]>(`/webhooks`).then((res) => res.data);
|
The Helius api endpoint (at least for cluster
devnet
)https://api-devnet.helius-rpc.com
(as defined inhelius-labs/helius-sdk/blob/main/src/utils/get-helius-endpoints.ts
) does not seem to work.The endpoint
https://api.helius.xyz
as specified in the docs (e.g. here) works.The text was updated successfully, but these errors were encountered: