LedgerService
Reads ledger data: objects, transactions, checkpoints and epochs, at any point in history.
Full service name: sui.rpc.v2.LedgerService, served on mainnet-grpc.inodra.com:443 and testnet-grpc.inodra.com:443 with your API key as x-api-key metadata. Every method has its own page with request and response fields, a grpcurl call and a TypeScript call.
Methods
| Method | Request | Response | Summary |
|---|---|---|---|
| GetServiceInfo | GetServiceInfoRequest | GetServiceInfoResponse | Query the service for general information about its current state. |
| GetObject | GetObjectRequest | GetObjectResponse | Returns GetObjectResponse. |
| BatchGetObjects | BatchGetObjectsRequest | BatchGetObjectsResponse | Returns BatchGetObjectsResponse. |
| GetTransaction | GetTransactionRequest | GetTransactionResponse | Returns GetTransactionResponse. |
| BatchGetTransactions | BatchGetTransactionsRequest | BatchGetTransactionsResponse | Returns BatchGetTransactionsResponse. |
| GetCheckpoint | GetCheckpointRequest | GetCheckpointResponse | Returns GetCheckpointResponse. |
| GetEpoch | GetEpochRequest | GetEpochResponse | Returns GetEpochResponse. |
| ListCheckpoints | ListCheckpointsRequest | stream ListCheckpointsResponse | List checkpoints matching the provided filters. |
| ListTransactions | ListTransactionsRequest | stream ListTransactionsResponse | List transactions matching the provided filters. |
| ListEvents | ListEventsRequest | stream ListEventsResponse | List events matching the provided filters. |
Related
- gRPC gateway for setup, reflection, field masks and streaming
- All gRPC services
- Proto definition on GitHub