Package-level declarations

Types

Link copied to clipboard
interface Account

Account API namespace. This interface provides functionality to reading and writing account related information.

Link copied to clipboard
interface Ans

Interface for all Aptos Name Service (ANS) operations.

Link copied to clipboard
interface Coin

An interface to handle all coin related operations.

Link copied to clipboard
interface DigitalAsset

Digital asset API namespace. This interface provides functionality to reading and writing digital assets' related information.

Link copied to clipboard
interface Faucet

Faucet API namespace. This class provides functionality to create and fund accounts.

Link copied to clipboard
interface FungibleAsset

An interface for querying fungible asset-related operations.

Link copied to clipboard
interface General

An interface for reading general information from the Aptos blockchain.

Link copied to clipboard
interface Object

An interface for querying Aptos Object related data from the indexer.

Link copied to clipboard
interface Staking

Interface for querying all Staking related information.

Link copied to clipboard
interface Table

An interface for querying Aptos Table related data.

Link copied to clipboard
interface Transaction

An interface for reading and writing Aptos transactions.

Functions

Link copied to clipboard
inline suspend fun <T> Account.getAccountResource(accountAddress: AccountAddressInput, resourceName: String, param: LedgerVersionQueryParam.() -> Unit = {}): Result<T, AptosSdkError>

Queries a specific account resource given an account address and resource name

Link copied to clipboard
inline suspend fun <T> Table.getTableItem(handle: String, data: TableItemRequest, param: LedgerVersionQueryParam? = null): Result<T, AptosSdkError>

Retrieves a specific item from a table, identified by the table's handle and the item's key.

Link copied to clipboard
inline suspend fun <T : List<MoveValue>> General.view(payload: InputViewFunctionData, bcs: Boolean = true, ledgerVersion: LedgerVersionArg? = null): Result<T, AptosSdkError>

Queries a Move view function on the Aptos blockchain.