FiyatlandırmaGitHubKontrol paneli

Sui

sui.rpc.v2.LedgerService/BatchGetTransactions60 kredi

Return a list of executed transactions by digest

Ağ: sui

Parametreler

AdTürAçıklama
digestsstring[]Transaction digests (base58).
read_maskgoogle.protobuf.FieldMaskFields of every ExecutedTransaction to return. (isteğe bağlı)

Dönüş değeri

Tür

BatchGetTransactionsResponse

transactions: one GetTransactionResult per digest, in order, holding either the transaction or an error.

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 '{
  "digests": [
    "Hay2tj3GcDYcE3AMHrej5WDsHGPVAYsegcubixLUvXUF"
  ],
  "read_mask": "digest,effects.status,checkpoint"
}' \
  grpc-holy-burned-sky-sui-mainnet.rpcnode.dev:443 \
  sui.rpc.v2.LedgerService/BatchGetTransactions