Skip to main content

Revenue SDK

Revenue and share accounting.

Operations

Generated Reference

Overview

Available Operations

lucidGetAgentRevenue

Retrieve the accumulated revenue pool for an agent, including total earned, pending distribution, and the share token configuration if launched.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidGetAgentRevenueResponse>

Errors

lucidTriggerAgentAirdrop

Admin-only. Distributes accumulated agent revenue to share token holders proportionally based on their holdings.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidTriggerAgentAirdropResponse>

Errors

lucidGetAgentRevenueHistory

Retrieve the complete payout history for an agent, including airdrop distributions, amounts, recipient counts, and timestamps.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidGetAgentRevenueHistoryResponse>

Errors