Solana instructions › Orca Whirlpools › twoHopSwapV2
Orca Whirlpools instruction. Program ID whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc. Position in this snapshot: 52.
Discriminator or tag: 0xba8fd11dfe02c275 — 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 | whirlpoolOne | writable |
| 1 | whirlpoolTwo | writable |
| 2 | tokenMintInput | read-only |
| 3 | tokenMintIntermediate | read-only |
| 4 | tokenMintOutput | read-only |
| 5 | tokenProgramInput | read-only |
| 6 | tokenProgramIntermediate | read-only |
| 7 | tokenProgramOutput | read-only |
| 8 | tokenOwnerAccountInput | writable |
| 9 | tokenVaultOneInput | writable |
| 10 | tokenVaultOneIntermediate | writable |
| 11 | tokenVaultTwoIntermediate | writable |
| 12 | tokenVaultTwoOutput | writable |
| 13 | tokenOwnerAccountOutput | writable |
| 14 | tokenAuthority | signer |
| 15 | tickArrayOne0 | writable |
| 16 | tickArrayOne1 | writable |
| 17 | tickArrayOne2 | writable |
| 18 | tickArrayTwo0 | writable |
| 19 | tickArrayTwo1 | writable |
| 20 | tickArrayTwo2 | writable |
| 21 | oracleOne | writable |
| 22 | oracleTwo | writable |
| 23 | memoProgram | read-only |
| Argument | Type |
|---|---|
| amount | u64 |
| otherAmountThreshold | u64 |
| amountSpecifiedIsInput | bool |
| aToBOne | bool |
| aToBTwo | bool |
| sqrtPriceLimitOne | u128 |
| sqrtPriceLimitTwo | u128 |
| remainingAccountsInfo | option<RemainingAccountsInfo> |
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.