# no TLS
grpcurl -plaintext
# Use plain-text HTTP/2 when connecting to server (no TLS).
cli flags
-max-time 10
-insecure
Skip server certificate and domain verification. (NOT SECURE!) Not valid with -plaintext option.
geyser
grpcurl -plaintext -import-path yellowstone-grpc-proto/proto/ \
-proto geyser.proto list
geyser.Geyser
GRPC="127.0.0.1:9000" # no protocol
grpcurl -plaintext -import-path yellowstone-grpc-proto/proto/ \
-proto geyser.proto $GRPC geyser.Geyser/GetVersion
{
"version": {
"version": {
"package": "yellowstone-grpc-geyser",
"version": "5.0.0",
"proto": "5.0.0",
"solana": "2.1.13",
"git": "",
"rustc": "1.81.0",
"buildts": ""
},
"extra": {
"hostname": ""
}
}
}
grpcurl -d @ -plaintext -import-path yellowstone-grpc-proto/proto/ -proto geyser.proto <server_addr>:<port> geyser.Geyser/Ping <<EOF
{
"count": 1
}
EOF
geyser method
geyser.Geyser/Subscribe
geyser.Geyser/SubscribeReplayInfo
geyser.Geyser/IsBlockhashValid
geyser.Geyser/GetLatestBlockhash
geyser.Geyser/GetBlockHeight
geyser.Geyser/GetSlot
geyser.Geyser/GetVersion
geyser.Geyser/Ping
Ref: