文档
定价GitHub控制台

Solana

geyser.Geyser/SubscribeReplayInfo5 额度

Returns the first slot the node can replay a subscription from (gRPC).

网络: solana

参数

无需参数(params 数组为空)。

返回值

类型

SubscribeReplayInfoResponse

{ first_available: uint64 } (optional: absent when the node does not keep replay history). The request message has no fields.

代码示例

# the key of the endpoint goes in the x-token header; add -proto <file> when the node has no gRPC reflection
grpcurl \
  -H 'x-token: 7c9e6679-7425-40de-944b-e07fc1f90ae7' \
  grpc-holy-burned-sky-solana-mainnet.rpcnode.dev:443 \
  geyser.Geyser/SubscribeReplayInfo