Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Skip the wiring and drop these examples into your project:

Viem Deposit

Command-line TypeScript script that prepares approvals and deposits using viem clients.

Viem Withdraw

Redeem vault shares with viem, complete with confirmation polling and error surfacing.

wagmi Deposit

React hooks and components that handle approval checks, transactions, and UI state with wagmi.

wagmi Withdraw

Hooks for immediate redemptions inside React, using wagmi’s contract writers and receipt tracking.

Privy Deposit

Hook + component for running the deposit flow with Privy’s embedded or external wallets.

Privy Withdraw

Execute withdrawals through Privy, including optimistic status and error handling.
Each example pairs the helpers from Functions with real wallet clients, caching, and error handling. Adjust addresses, chains, and YieldType values to match your production configuration.***