PreiseGitHubDashboard

Sui

sui.rpc.v2.SubscriptionService/SubscribeEvents100 Credits

Stream new events (billed once per stream)

Netzwerk: sui

Parameter

NameTypBeschreibung
read_maskgoogle.protobuf.FieldMaskFields of every Event to return. (optional)
filterEventFilterOnly deliver events matching this filter. When omitted every event is delivered. (optional)

Rückgabewert

Typ

stream SubscribeEventsResponse

Server stream. event (Event) and watermark.

Codebeispiele

# 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-sui-mainnet.rpcnode.dev:443 \
  sui.rpc.v2.SubscriptionService/SubscribeEvents