Package-level declarations

Functions

Link copied to clipboard
suspend fun getDynamicFieldObject(config: SuiConfig, parentId: String, name: DynamicFieldName): Result<GetDynamicFieldObjectQuery.Data?, SuiError>
Link copied to clipboard
suspend fun getDynamicFields(config: SuiConfig, parentId: String, first: Int?, cursor: String?): Result<GetDynamicFieldsQuery.Data?, SuiError>
Link copied to clipboard
suspend fun multiGetObjects(config: SuiConfig, ids: List<String>, limit: Int?, cursor: String?, options: ObjectDataOptions): Result<MultiGetObjectsQuery.Data?, SuiError>
Link copied to clipboard
inline suspend fun <T> query(config: SuiConfig, query: GraphqlQuery)
Link copied to clipboard
suspend fun tryGetPastObject(config: SuiConfig, id: String, version: Int?, option: ObjectDataOptions): Result<TryGetPastObjectQuery.Data?, SuiError>
Link copied to clipboard
suspend fun waitForTransaction(config: SuiConfig, digest: String, options: TransactionBlockResponseOptions, timeout: Long = 10000, pollInterval: Long): Result<GetTransactionBlockQuery.Data?, SuiError>

Waits for a transaction block to be processed and available on the network by polling the getTransactionBlock API.