nearfundocs
The NearFun handbook
SPECIFICATION · 27

Buy Flow

NearFun master specification

Use Pump’s current official buy interface.

Expected:

buy_v2

Verify exact SDK implementation.

Trading flow:

NEAR
→
Pump bonding curve
→
TOKEN

Before wallet approval show:

You Pay
X NEAR

You Receive
~Y TOKEN

Slippage

Maximum spent / minimum received as appropriate

Fees where reliably known

Network fee estimate where available

Require explicit Buy action.

NearFun documentation