FiyatlandırmaGitHubKontrol paneli

Sui

sui.rpc.v2.SubscriptionService/SubscribeTransactions100 kredi

Stream new transactions (billed once per stream)

Ağ: sui

Parametreler

AdTürAçıklama
read_maskgoogle.protobuf.FieldMaskFields of every ExecutedTransaction to return. (isteğe bağlı)
filterTransactionFilterOnly deliver transactions matching this filter. When omitted every transaction is delivered. (isteğe bağlı)

Dönüş değeri

Tür

stream SubscribeTransactionsResponse

Server stream. transaction (ExecutedTransaction) and watermark.

Kod örnekleri

# 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' \
  -d '{
  "read_mask": "digest,checkpoint"
}' \
  grpc-holy-burned-sky-sui-mainnet.rpcnode.dev:443 \
  sui.rpc.v2.SubscriptionService/SubscribeTransactions