Initializing the Yellowstone Client
Solana gRPC Geyser Guide - Initializing the Solana Yellowstone gRPC client
npm i @triton-one/yellowstone-grpcimport Client from "@triton-one/yellowstone-grpc";
const client = new Client(
"https://grpc.ams.shyft.to", //your region specific grpc endpoint
"YOUR-ACCESS-XTOKEN", // xtoken, which is used to authenticate
undefined,
);Last updated