Sui Http Client
A Kotlin wrapper around the Sui JSON-RPC API for interacting with a Sui full node.
Functions
Return transaction execution effects including the gas cost summary, while the effects are not committed to the chain.
Execute the transaction and wait for results if desired.
Return the total coin balance for all coin type, owned by the address owner.
Return all Coin objects owned by an address.
Return the total coin balance for one coin type, owned by the address owner.
Suspended function that retrieves the chain's identifier.
Return a checkpoint
Fetches paginated list of checkpoints.
Return metadata(e.g., symbol, decimals) for a coin
Suspended function to retrieve information about the committee information for the asked epoch.
Retrieves the dynamic field object information for a specified object.
Retrieves a list of events associated with a given transaction digest.
Return the sequence number of the latest checkpoint that has been executed
Return the latest SUI system state object on-chain.
Retrieves the loaded child objects for a given transaction digest.
Retrieves the argument types for a Move function from the blockchain.
Retrieves the object data for a list of objects.
Retrieves multiple transaction blocks corresponding to the given digests and with the specified options.
Retrieves a normalized representation of a Move function from the blockchain.
Retrieves a normalized representation of a Move module from the blockchain.
Retrieves structured representations of all modules in the given package.
Retrieves the owned objects based on the provided address, query, cursor, and limit.
Return the reference gas price for the network.
Retrieves the list of delegated stakes for a specified owner.
Retrieves one or more DelegatedStake.
Retrieves the total supply for a specified cryptocurrency.
Return the total number of transactions known to the server.
Retrieves the transaction block corresponding to the given digest and with the specified options.
Suspended function that retrieves the APYs (Annual Percentage Yields) for validators.
Pings Sui using the configured endpoint URL and HTTP client.
Create an unsigned transaction to merge multiple coins into one coin.
Create an unsigned transaction to execute a Move call on the network, by calling the specified function in the module of a given package.
Send Coin<T> to a list of addresses, where T can be any coin type following a list of amounts.
Send all SUI coins to one recipient.
Send SUI coins to a list of addresses, following a list of amounts.
Create an unsigned transaction to publish a Move package.
Queries events on the Sui blockchain matching the given eventFilter. d It optionally starts from the event with the specified cursor, returning at most limit events, otherwise QUERY_MAX_RESULT_LIMIT, and in either ascending or descending order based on descendingOrder. Returns an EventPage containing the matching events and pagination information.
Queries the transaction blocks based on the given parameters.
Add stake to a validator's staking pool using multiple coins and amount.
Withdraw stake from a validator's staking pool.
Resolves the address of a name service based on the provided name.
Return the resolved names given address, if multiple names are resolved, the first one is the primary name.
Create an unsigned transaction to split a coin object into multiple coins.
Create an unsigned transaction to split a coin object into multiple equal-size coins.
Create an unsigned transaction to transfer an object from one address to another. The object's type must allow public transfers.
Create an unsigned transaction to send SUI coin object to a Sui address. The SUI object is also used as the gas object.
Tries to retrieve multiple past versions of objects based on the provided PastObjectRequest list and options.
Tries to retrieve a past version of an object based on its ID and version number.