Type Alias DerivableAbstractedAccountArgs

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

Type declaration

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