Solana instructions › OKX DEX › proxy_swap
OKX DEX instruction. Program ID 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma. Position in this snapshot: 11.
Discriminator or tag: 0x132c829448382cee — published in the IDL snapshot.
| # | Account | Role |
|---|---|---|
| 0 | payer | writable, signer |
| 1 | source_token_account | writable |
| 2 | destination_token_account | writable |
| 3 | source_mint | read-only |
| 4 | destination_mint | read-only |
| 5 | sa_authority | optional |
| 6 | source_token_sa | writable, optional |
| 7 | destination_token_sa | writable, optional |
| 8 | source_token_program | optional |
| 9 | destination_token_program | optional |
| 10 | associated_token_program | optional |
| 11 | system_program | optional |
| Argument | Type |
|---|---|
| data | SwapArgs |
| order_id | 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.