Solana instructions › PumpSwap AMM › buy_exact_quote_in

buy_exact_quote_in

PumpSwap AMM instruction. Program ID pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA. Position in this snapshot: 3.

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

From the IDL

Given a budget of spendable_quote_in, buy at least min_base_amount_out Fees will be deducted from spendable_quote_in f(quote) = tokens, where tokens >= min_base_amount_out Make sure the payer has enough SOL to cover creation of the following accounts (unless already created): - protocol_fee_recipient_token_account: rent.minimum_balance(TokenAccount::LEN) - coin_creator_vault_ata: rent.minimum_bala

Accounts

#AccountRole
0poolread-only
1userwritable, signer
2global_configread-only
3base_mintread-only
4quote_mintread-only
5user_base_token_accountwritable
6user_quote_token_accountwritable
7pool_base_token_accountwritable
8pool_quote_token_accountwritable
9protocol_fee_recipientread-only
10protocol_fee_recipient_token_accountwritable
11base_token_programread-only
12quote_token_programread-only
13system_programread-only
14associated_token_programread-only
15event_authorityread-only
16programread-only
17coin_creator_vault_atawritable
18coin_creator_vault_authorityread-only
19global_volume_accumulatorwritable
20user_volume_accumulatorwritable
21fee_configread-only
22fee_programread-only

Arguments

ArgumentType
spendable_quote_inu64
min_base_amount_outu64

Other PumpSwap AMM 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.