Type Alias AbstractedAccountConstructorArgs

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

Type declaration

  • 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.

      • (digest): 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.