Skip to main content

createFillWithdrawalInstruction

Builds a raw instruction to fill a depositor’s queued withdrawal with underlying tokens. The vault manager calls this to service pending withdrawal requests by specifying the token mint and amount to allocate. Once filled, the depositor can execute the withdrawal to receive their tokens.

Usage

Accounts

Args

Returns

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