Developer Reference
Developer Reference
This section provides early-stage technical reference information for developers who want to integrate or build on top of Purge.
Wallet Connection
Purge uses @solana/web3.js
and supports:
Currently supports:
Phantom
Solflare
Wallet detection is handled via standard provider injection.
Token Account Fetching
Token accounts are pulled using:
This allows us to list balances, decimals, and mint addresses for SPL tokens.
Liquidity Check
We use the Jupiter Aggregator Quote API to determine if a token is swappable:
Routing is optimized based on best price and liquidity depth.
Burn Transactions
Burns are executed by sending a transfer to a public, unspendable address:
The burn wallet has no associated private key and is publicly verifiable on-chain.
Purge AI (coming soon)
We are exploring exposing AI hooks or profile endpoints via a limited-access developer API for trusted wallets and platforms. More details to follow.
This section will be expanded as integration support and APIs become publicly available.
Last updated