Utility function that checks whether associated token accounts exist and return instructions to populate them if not
Solana client connection
Array of ATA owners
Mint for which ATA will be checked
Transaction invoker and payer
Optional
Program ID of the Mint
Array of Transaction Instructions that should be added to a transaction
Utility function that checks whether associated token accounts exist and return instructions to populate them if not