Skip to main content

Shares SDK

Share token launch and revenue airdrop for fractional AI asset ownership

Operations

Generated Reference

Overview

Share token launch and revenue airdrop for fractional AI asset ownership

Available Operations

lucidLaunchShareToken

Create and launch an SPL Token-2022 share token for fractional ownership of an AI asset. Configurable name, symbol, initial supply, and decimals. Requires the passport to exist and not already have a share token.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.TokenLaunchResponse>

Errors

lucidGetShareToken

Retrieve share token information for a passport including the SPL mint address, total supply, decimals, and current holder count. Returns 404 if no share token has been launched.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.TokenInfo>

Errors

lucidTriggerRevenueAirdrop

Snapshot all current share token holders and distribute accumulated SOL revenue proportionally based on each holder’s token balance. Requires the passport to have a launched share token with accumulated revenue.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.AirdropResponse>

Errors