Skip to main content

Modules SDK

ERC-7579 module management — install, uninstall, and configure policy/payout modules

Operations

Generated Reference

Overview

ERC-7579 module management — install, uninstall, and configure policy/payout modules

Available Operations

lucidInstallModule

Install an ERC-7579 module (policy, payout, or receipt) on a smart account. The module type and initialization data must be provided in the request body.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.SuccessResponse>

Errors

lucidUninstallModule

Uninstall an ERC-7579 module from a smart account. Requires the module address and type to identify which module to remove.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.SuccessResponse>

Errors

lucidConfigurePolicyModule

Configure allowed policy hashes on the LucidPolicyModule. Only transactions matching an allowed policy hash will be permitted by the module.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.SuccessResponse>

Errors

lucidConfigurePayoutModule

Configure the revenue split percentages on the LucidPayoutModule. Sets the basis-point allocations for compute, model, and protocol recipients.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.SuccessResponse>

Errors

lucidListModules

List all ERC-7579 modules installed on a smart account, including module type, address, and configuration status for each.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.ListModulesResponse>

Errors