Aptos
Kotlin-native, namespaced entry point for Aptos APIs.
Use aptos for one workflow so clients and SDK-owned accounts are cleaned up automatically. Construct this class directly when an application needs a long-lived client.
Properties
Account-abstraction status and authentication-function transaction builders.
Account lookup, balance, discovery, and authentication-key rotation operations.
Legacy coin-standard transaction builders.
Digital-asset reads and transaction builders.
Faucet funding operations for networks that advertise a faucet.
Fungible-asset transaction builders.
Low-level typed GraphQL execution for queries not covered by a domain service.
Ledger metadata and block lookup operations.
Aptos Names Service reads and transaction builders.
Object lookup operations.
Delegated-staking reads.
REST and indexer table operations.
Transaction building, signing, simulation, submission, and confirmation operations.
Shared transport handle used by this client and optional Kaptos modules. Its lifecycle remains owned by Aptos, unless it was supplied in AptosConfig.
Read-only Move view-function calls.
Functions
Creates an SDK-owned account from a canonical algorithm-prefixed AIP-80 string.
Creates an SDK-owned account from a validated AIP-80 private key.
Creates an SDK-owned local account. Its private key is cleared automatically when this client closes, including when used inside aptos.
Generates an SDK-owned local account. Ed25519 is the conventional Aptos default.
Clear fetched and preloaded ABIs after a deployment or before a workflow requiring fresh ABIs.
Creates an SDK-owned legacy Ed25519 account from a canonical AIP-80 string.
Creates an SDK-owned legacy Ed25519 account from a validated AIP-80 private key.
Creates an SDK-owned legacy Ed25519 account while retaining its concrete account type.
Creates an SDK-owned SingleKey account while retaining its concrete account type.
Generates an SDK-owned SingleKey account; Ed25519 is the default key algorithm.