Type Alias AbstractedAccountConstructorArgs

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

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) => HexInput)

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

      • (digest): HexInput
      • Parameters

        • digest: HexInput

          The SHA256 hash of the transaction signing message

        Returns HexInput

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

MMNEPVFCICPMFPCPTTAAATR