Skip to content
docs

decodeSwapArgs

decodeSwapArgs(data): JupiterSwapArgs

Defined in: protocol-swap2-jupiter/src/codec.ts:32

Decode the swap instruction’s fixed arguments; throws for any other instruction (ExactOut, legacy v1 routes…).

Uint8Array

JupiterSwapArgs