Solana instructions › Orca Whirlpools › twoHopSwap
Orca Whirlpools instruction. Program ID whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc. Position in this snapshot: 25.
Discriminator or tag: 0xc360ed6c44a2dbe6 — computed from the standard Anchor rule (first 8 bytes of sha256("global:<snake_case_name>")); confirm against a published IDL or a live transaction before relying on it in production code.
| # | Account | Role |
|---|---|---|
| 0 | tokenProgram | read-only |
| 1 | tokenAuthority | signer |
| 2 | whirlpoolOne | writable |
| 3 | whirlpoolTwo | writable |
| 4 | tokenOwnerAccountOneA | writable |
| 5 | tokenVaultOneA | writable |
| 6 | tokenOwnerAccountOneB | writable |
| 7 | tokenVaultOneB | writable |
| 8 | tokenOwnerAccountTwoA | writable |
| 9 | tokenVaultTwoA | writable |
| 10 | tokenOwnerAccountTwoB | writable |
| 11 | tokenVaultTwoB | writable |
| 12 | tickArrayOne0 | writable |
| 13 | tickArrayOne1 | writable |
| 14 | tickArrayOne2 | writable |
| 15 | tickArrayTwo0 | writable |
| 16 | tickArrayTwo1 | writable |
| 17 | tickArrayTwo2 | writable |
| 18 | oracleOne | read-only |
| 19 | oracleTwo | read-only |
| Argument | Type |
|---|---|
| amount | u64 |
| otherAmountThreshold | u64 |
| amountSpecifiedIsInput | bool |
| aToBOne | bool |
| aToBTwo | bool |
| sqrtPriceLimitOne | u128 |
| sqrtPriceLimitTwo | u128 |
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.