Skip to main content
The invest sub-client handles subscription and redemption flows for tokenized vaults. It supports both instant and queued modes depending on the vault’s configuration. For conceptual details on subscription and redemption flows, see Flows.

Subscribe

Subscribe to a tokenized vault by depositing the base asset and receiving vault shares.

Instant Subscription

When the vault supports instant subscriptions, shares are issued in the same transaction:

Queued Subscription

When the vault requires pricing delays or notice periods, use queued subscription:

Redeem

Queued Redemption

Submit a redemption request to burn vault shares and receive the base asset:

Fulfill Requests

The vault manager (or any actor, if permissionless fulfillment is enabled) can fulfill pending subscription and redemption requests:
Before fulfilling requests, the vault must be priced. See Pricing for details on generating pricing instructions.

Claim

After a request is fulfilled, the subscriber must claim to complete the flow:

Cancel

Cancel a pending request before it is fulfilled:

Query Pending Requests

Fetch the pending subscription or redemption request for a user:

End-to-End Example

A complete queued subscription flow: