Package-level declarations

Types

Link copied to clipboard
data class MoveViewResult(val values: List<JsonElement>)

Raw, lossless result from a Move view function.

Link copied to clipboard
interface ViewService

Typed view calls and explicit raw JSON access.

Functions

Link copied to clipboard
@JvmName(name = "callOfReified")
inline suspend fun <T1> ViewService.callOf(function: String, vararg arguments: Any?): AptosResult<MoveViewResult>

Concise ABI-validated view call inferring a single type argument from T1.

@JvmName(name = "callOfReified2")
inline suspend fun <T1, T2> ViewService.callOf(function: String, vararg arguments: Any?): AptosResult<MoveViewResult>

Concise ABI-validated view call inferring two type arguments from T1 and T2.

@JvmName(name = "callOfStrings")
suspend fun ViewService.callOf(function: String, typeArguments: List<String>, vararg arguments: Any?): AptosResult<MoveViewResult>

Concise ABI-validated view call with string type arguments and vararg arguments.