@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Type Alias DerivableAbstractedAccountArgs

    type DerivableAbstractedAccountArgs = {
        abstractPublicKey: Uint8Array;
        authenticationFunction: string;
        signer: (digest: HexInput) => Uint8Array;
    }
    Index

    Properties

    abstractPublicKey: Uint8Array

    The abstract public key that is used to identify the account. Depends on the use cases, most of the time it is the public key of the source wallet

    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.