Connection to use
The instruction to add accounts to
Transfer hook program ID
The source account
The mint account
The destination account
Owner of the source account
The amount of tokens to transfer
Optional
commitment: CommitmentCommitment to use
Generated using TypeDoc
Adds all the extra accounts needed for a transfer hook to an instruction.
Note this will modify the instruction passed in.