Account Abstraction Service
interface AccountAbstractionService
Account-abstraction operations exposed as client.abstraction.
Functions
Link copied to clipboard
abstract suspend fun buildDisable(accountAddress: AccountAddressInput, authenticationFunction: AuthenticationFunction? = null, options: TransactionOptions = TransactionOptions()): AptosResult<UnsignedTransaction.Simple>
Build a transaction that disables one authentication function, or removes the dispatchable authenticator entirely when authenticationFunction is null.
Link copied to clipboard
abstract suspend fun buildEnable(accountAddress: AccountAddressInput, authenticationFunction: AuthenticationFunction, options: TransactionOptions = TransactionOptions()): AptosResult<UnsignedTransaction.Simple>
Build a transaction that enables an additional authentication function.
Link copied to clipboard
abstract suspend fun isEnabled(accountAddress: AccountAddressInput, authenticationFunction: AuthenticationFunction): AptosResult<Boolean>
Checks whether authenticationFunction is active for accountAddress.
Link copied to clipboard
abstract suspend fun status(accountAddress: AccountAddressInput): AptosResult<AccountAbstractionStatus>
Returns every currently active authentication function for accountAddress.