Quickstart
Key → quote → build → sign → send.
Node 18+ or Python 3.9+, a funded wallet, and an API key.
Get an API key
Create one at API keys. Shown once; pass it as
?api-key=or thex-api-keyheader.Quote
No wallet required.
cURLcurl "https://api.trenchytools.lol/api/sol/quote?mint=MINT_ADDRESS&action=buy&amount=0.1&api-key=YOUR_API_KEY"Install the libraries
Solana uses
@solana/web3.jsto sign. Robinhood usesviem.Terminalnpm install @solana/web3.js bs58Build and send a trade
Copy the full example from the trade page and replace the placeholders.