Skip to main content

createWithdrawFundsInstruction

Builds a raw instruction to withdraw PT, YT, and/or SY tokens that are held in the orderbook back to the trader’s accounts.

Usage

Accounts

Args

Amount Helper

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.