@aptos-labs/ts-sdk - v3.1.1
    Preparing search index...

    Type Alias AbstractedAccountConstructorArgs

    type AbstractedAccountConstructorArgs = {
        accountAddress: AccountAddress;
        authenticationFunction: string;
        signer: (digest: HexInput) => Uint8Array;
    }
    Index

    Properties

    accountAddress: AccountAddress

    The account address of the account.

    authenticationFunction: string

    The authentication function that will be used to verify the signature.

    const authenticationFunction = `${accountAddress}::permissioned_delegation::authenticate`;
    
    signer: (digest: HexInput) => Uint8Array

    The signer function signs transactions and returns the authenticator bytes in the AbstractionAuthData.

    Type declaration

      • (digest: HexInput): Uint8Array
      • Parameters

        • digest: HexInput

          The SHA256 hash of the transaction signing message

        Returns Uint8Array

        The authenticator bytes that can be used to verify the signature.