Move

class Move(val config: <Error class: unknown class>) : Move

The concrete implementation of the Move interface.

Parameters

config

The SuiConfig object specifying the RPC endpoint and connection settings.

Constructors

Link copied to clipboard
constructor(config: <Error class: unknown class>)

Properties

Link copied to clipboard
val config: <Error class: unknown class>

Functions

Link copied to clipboard
open suspend override fun getMoveFunctionArgTypes(id: String): <Error class: unknown class><GetMoveFunctionArgTypesQuery.Data?, <Error class: unknown class>>

Fetches the argument types for a specific Move function.

Link copied to clipboard
open suspend override fun getNormalizedMoveFunction(id: String): <Error class: unknown class><GetNormalizedMoveFunctionQuery.Data?, <Error class: unknown class>>

Fetches the normalized (desugared and with types expanded) representation of a Move function.

Link copied to clipboard
open suspend override fun getNormalizedMoveModule(packageId: String, module: String): <Error class: unknown class><GetNormalizedMoveModuleQuery.Data?, <Error class: unknown class>>

Fetches the normalized representation of a specific module within a package.

Link copied to clipboard
open suspend override fun getNormalizedMoveModulesByPackage(packageId: String, cursor: String?): <Error class: unknown class><GetNormalizedMoveModulesByPackageQuery.Data?, <Error class: unknown class>>

Fetches a paginated list of all normalized modules within a given package.

Link copied to clipboard
open suspend override fun getNormalizedMoveStruct(id: String): <Error class: unknown class><GetNormalizedMoveStructQuery.Data?, <Error class: unknown class>>

Fetches the normalized representation of a Move struct.

Link copied to clipboard
open suspend override fun getTypeLayout(type: String): <Error class: unknown class><GetTypeLayoutQuery.Data?, <Error class: unknown class>>

Resolves the on-chain memory layout for a specified Move type.

Link copied to clipboard
open suspend override fun paginateMoveModuleLists(packageId: String, module: String, hasMoreFriends: Boolean, hasMoreStructs: Boolean, hasMoreFunctions: Boolean, hasMoreEnums: Boolean, afterFriends: String?, afterStructs: String?, afterFunctions: String?, afterEnums: String?): <Error class: unknown class><PaginateMoveModuleListsQuery.Data?, <Error class: unknown class>>

Fetches paginated lists of components within a Move module.