Yellowstone gRPC
Last updated
Last updated
If you're a customer of , you have an access to Yellowstone gRPC endpoint already. This endpoint is mostly used to subscribe for events which are going on Solana network, such as transactions, votes, new blocks, program executions, etc.
It is the best option to receive transaction data as fast as possible. Compared to traditional WebSocket subscriptions, gRPC has minimal latency and maximum throughput.
Install software onto your machine.
Download Yellowstone gRPC proto files , (gRPC protocol needs to know methods and how to interact with them)
Place these files to the folder from where you want to invoke grpcurl
command.
Grab your endpoint (i.e. sol-yellowstone-customer.rpcfast.net
) and your token, which you have received when you ordered the node.
From terminal, launch the command to show the current slot number of the node.
To test subcription to events, let's take a look at an example of subscribing to updates of USDC token on Solana:
For further usage with your applications, please refer to examples, written in Go, Rust and Node:
Also please refer to official documentation for advanced usage: