Skip to main content
This section walks you through interacting with Amplify vault smart contracts without the @paxoslabs/amplify-sdk. Use this approach when you need to integrate from a non-JavaScript backend, a mobile app, or when you want full control over transaction construction.
If you’re building a JavaScript or TypeScript app and want the fastest path to production, the Amplify SDK handles ABI encoding, address resolution, token approvals, and error handling for you.
As of v0.5.2, Amplify vaults use KYT (Know Your Transaction) enabled depositor contracts. Deposit functions now require an Attestation parameter for compliance policy integration. For now, pass empty/zero attestation values — contact the Paxos Labs team to implement the compliance policy of your choice. See Deposits for details.

Setup & Prerequisites

Obtain contract addresses, configure multi-chain support, and install an Ethereum library for your language.

Concepts

Smart contracts, ABIs, token approvals, permits, vault shares, slippage, and contract architecture.

Deposits

Deposit tokens into a vault and receive vault shares. Covers both the standard approval flow and the single-transaction permit flow.

Withdrawals

Submit a withdrawal order offering vault shares in exchange for stablecoins. Covers order construction, submission, and status polling.

Cancellations

Cancel a pending withdrawal order and recover your locked vault shares. Covers direct cancellation and meta-transaction cancellation.

Vault Queries & Monitoring

Discover vaults, read APY/TVL, check balances, withdrawal fees, pause state, and monitor withdrawal request history via REST API and on-chain reads.

Learning Path

  1. Setup & Prerequisites — Get contract addresses and install your Ethereum library
  2. Concepts — Understand ABIs, approvals, permits, vault shares, and contract architecture
  3. Deposits — Implement your first deposit flow
  4. Withdrawals — Submit withdrawal orders
  5. Cancellations — Cancel pending withdrawals
  6. Vault Queries — Read vault state and monitor requests

Using the SDK?

If you’re integrating from JavaScript or TypeScript, see the SDK Integration guides — they cover the same deposit, withdrawal, and cancellation workflows using the @paxoslabs/amplify-sdk.