Function ownerToAccounts

  • Convert a profile or key to an owner accounts object

    Parameters

    • validPermissionKeys: PublicKey[]

      Valid permission keys

    • requiredPermissions: ProfilePermissions

      Required permissions

    • owner: {
          profile: ProfileKeyInput<ProfilePermissions, AsyncSigner<unknown>>;
      } | {
          key: AsyncSigner<unknown>;
      }

      Either a profile or a key to sign the transaction

    Returns OwnerToAccounts

    OwnerToAccounts

Generated using TypeDoc