view

inline suspend fun <T : List<MoveValue>> General.view(payload: InputViewFunctionData, bcs: Boolean = true, ledgerVersion: LedgerVersionArg? = null): Option<T>

Queries for a Move view function

Parameters

payload

Payload for the view function

ledgerVersion

The ledger version to query, if not provided it will get the latest version