ExSui.Core (ex_sui v0.1.0)

View Source

Contains functions to interface with the Sui Ledger service.

Summary

Functions

Gets the current sui blockchain checkpoint.

Gets the current sui blockchain reference gas price.

Gets a transaction's details.

Functions

get_checkpoint(request \\ nil)

@spec get_checkpoint(Sui.Rpc.V2beta.GetCheckpointRequest.t() | nil) ::
  {:ok, Sui.Rpc.V2beta.Checkpoint.t()} | {:error, GRPC.RPCError.t()}

Gets the current sui blockchain checkpoint.

get_reference_gas_price(request \\ nil)

@spec get_reference_gas_price(Sui.Rpc.V2beta.GetEpochRequest.t() | nil) ::
  {:ok, Sui.Rpc.V2beta.Epoch.t()} | {:error, GRPC.RPCError.t()}

Gets the current sui blockchain reference gas price.

get_transaction(request)

@spec get_transaction(Sui.Rpc.V2beta.GetTransactionRequest.t()) ::
  {:ok, Sui.Rpc.V2beta.Transaction.t()} | {:error, GRPC.RPCError.t()}

Gets a transaction's details.