Solana instructions › OKX DEX › swap_tob_v3_enhanced
OKX DEX instruction. Program ID 6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma. Position in this snapshot: 14.
Discriminator or tag: 0xec479b44c6620e76 — 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 | commission_account | writable, optional |
| 6 | platform_fee_account | writable, optional |
| 7 | sa_authority | writable, optional |
| 8 | source_token_sa | writable, optional |
| 9 | destination_token_sa | writable, optional |
| 10 | source_token_program | optional |
| 11 | destination_token_program | optional |
| 12 | associated_token_program | optional |
| 13 | system_program | optional |
| Argument | Type |
|---|---|
| args | SwapArgs |
| commission_info | u32 |
| trim_rate | u8 |
| charge_rate | u16 |
| platform_fee_rate | u16 |
| 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.