Skip to main content

Crate sui_rpc_api

Crate sui_rpc_api 

Source

Re-exports§

pub use client::Client;

Modules§

client
grpc
ledger_history
proto
read_mask_defaults
subscription

Structs§

CheckpointNotFoundError
Config
ErrorDetails
ObjectNotFoundError
RpcError
An error encountered while serving an RPC request.
RpcMetrics
RpcMetricsMakeCallbackHandler
RpcService
ServerVersion
TransactionNotFoundError

Enums§

Direction
ErrorReason
Error reasons in the sui.io error domain, used as the reason of a google.rpc.ErrorInfo or of a google.rpc.BadRequest.FieldViolation.

Constants§

X_SUI_CLIENT_PROTOCOL_VERSION
Request header carrying the highest protocol version whose types the client can decode.

Functions§

client_protocol_version
The highest protocol version the client that sent a request understands, if it said.
grpc_method_paths_from_file_descriptor_sets
Decode one or more encoded FileDescriptorSet byte slices and return the set of /package.Service/Method paths they declare.

Type Aliases§

GrpcMethodAllowlist
Set of /package.Service/Method paths that are safe to use as metric labels.
Result