Nick-Gabe/pumpfun-api ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript SDK for the Pump.fun API that feels easy to use in a normal app or script.

I want to be able to create one client, log in when needed with Phantom, and then call simple methods to get coin data, search coins, fetch candlestick data, check king of the hill, and work with user and metadata related endpoints. Make it fully typed so the method inputs and returned data are clear and safe to use.

Please organize it so the main client is straightforward to import and the different groups of features are easy to discover. Add a few clear usage examples in the README, and make sure the code is documented enough that someone can understand it without digging through everything. If you need current API details, look up the latest Pump.fun docs online first.