Solana instructions › PumpSwap AMM › buy
PumpSwap AMM instruction. Program ID pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA. Position in this snapshot: 2.
Discriminator or tag: 0x66063d1201daebea — published in the IDL snapshot.
| # | Account | Role |
|---|---|---|
| 0 | pool | read-only |
| 1 | user | writable, signer |
| 2 | global_config | read-only |
| 3 | base_mint | read-only |
| 4 | quote_mint | read-only |
| 5 | user_base_token_account | writable |
| 6 | user_quote_token_account | writable |
| 7 | pool_base_token_account | writable |
| 8 | pool_quote_token_account | writable |
| 9 | protocol_fee_recipient | read-only |
| 10 | protocol_fee_recipient_token_account | writable |
| 11 | base_token_program | read-only |
| 12 | quote_token_program | read-only |
| 13 | system_program | read-only |
| 14 | associated_token_program | read-only |
| 15 | event_authority | read-only |
| 16 | program | read-only |
| 17 | coin_creator_vault_ata | writable |
| 18 | coin_creator_vault_authority | read-only |
| 19 | global_volume_accumulator | writable |
| 20 | user_volume_accumulator | writable |
| 21 | fee_config | read-only |
| 22 | fee_program | read-only |
| Argument | Type |
|---|---|
| base_amount_out | u64 |
| max_quote_amount_in | 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.