Solana instructions › Pump.fun Bonding Curve › buy_exact_sol_in

buy_exact_sol_in

Pump.fun Bonding Curve instruction. Program ID 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P. Position in this snapshot: 4.

Discriminator or tag: 0x38fc74089edfcd5f — published in the IDL snapshot.

From the IDL

Given a budget of spendable SOL, buy at least min_tokens_out Account creation and fees will be deducted from the spendable SOL f(sol) = tokens, where tokens >= min_tokens_out and sol > rent + fees max_slippage = min_tokens_out = 1 Make sure the sol budget is enough to cover creation of the following accounts (unless already created): - creator_vault: rent.minimum_balance(SystemAccount::LEN) - user

Accounts

#AccountRole
0globalread-only
1fee_recipientwritable
2mintread-only
3bonding_curvewritable
4associated_bonding_curvewritable
5associated_userwritable
6userwritable, signer
7system_programread-only
8token_programread-only
9creator_vaultwritable
10event_authorityread-only
11programread-only
12global_volume_accumulatorwritable
13user_volume_accumulatorwritable
14fee_configread-only
15fee_programread-only

Arguments

ArgumentType
spendable_sol_inu64
min_tokens_outu64

Other Pump.fun Bonding Curve instructions

To see which instructions a confirmed transaction actually ran, paste its signature into the Rugsight transaction explainer.

Instruction lists and published discriminators come from solana-idls@1.2.1 (MIT) and, for the System Program, Compute Budget and Associated Token Account programs, from their public instruction enums (Apache-2.0). Snapshot date 2026-11-17. Programs can upgrade, so a live program may differ from this snapshot. Computed Anchor discriminators are the first 8 bytes of sha256("global:<snake_case_name>") and are labelled as computed.