> ## 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.

# Functions

> Reference for Amplify Earn transaction helpers

Each helper in the Amplify SDK prepares calldata for a specific vault action. Use this section as the reference companion to the [Quickstart](../quickstart) and [Developer Guide](../developer-guide).

<CardGroup cols={2}>
  <Card title="Deposit" href="/v0.1.0/intro/products/earn/developers/functions/deposit">
    Use `prepareDepositTxData` when allowance is already in place—includes viem,
    wagmi, and Privy snippets.
  </Card>

  <Card title="Approve & Deposit" href="/v0.1.0/intro/products/earn/developers/functions/approve-and-deposit">
    Sequence `prepareApproveDepositTokenTxData` with a deposit call to handle the
    standard two-transaction ERC-20 flow.
  </Card>

  <Card title="Deposit with Permit" href="/v0.1.0/intro/products/earn/developers/functions/deposit-with-permit">
    Generate typed-data signatures via `prepareDepositPermitSignature` and
    submit a single `depositWithPermit` transaction.
  </Card>

  <Card title="Withdraw" href="/v0.1.0/intro/products/earn/developers/functions/withdraw">
    Redeem shares immediately using `prepareWithdrawTxData`, with safety
    notes on slippage and liquidity.
  </Card>
</CardGroup>

Need full app wiring? Visit the [Examples](../examples/index) section for ready-to-run React integrations.\*\*\*
