Solana instructions › Pump.fun Bonding Curve › buy
Pump.fun Bonding Curve instruction. Program ID 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P. Position in this snapshot: 3.
Discriminator or tag: 0x66063d1201daebea — published in the IDL snapshot.
Buys tokens from a pump.fun bonding-curve pool.
The published 8-byte discriminator is in the snapshot. The accounts include the curve, the user token account and the fee accounts listed by the IDL.
Buys tokens from a bonding curve.
| # | Account | Role |
|---|---|---|
| 0 | global | read-only |
| 1 | fee_recipient | writable |
| 2 | mint | read-only |
| 3 | bonding_curve | writable |
| 4 | associated_bonding_curve | writable |
| 5 | associated_user | writable |
| 6 | user | writable, signer |
| 7 | system_program | read-only |
| 8 | token_program | read-only |
| 9 | creator_vault | writable |
| 10 | event_authority | read-only |
| 11 | program | read-only |
| 12 | global_volume_accumulator | writable |
| 13 | user_volume_accumulator | writable |
| 14 | fee_config | read-only |
| 15 | fee_program | read-only |
| Argument | Type |
|---|---|
| amount | u64 |
| max_sol_cost | u64 |
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.