checkedTokenProgramAddress
Check the provided program is one of the supported token programs. Including setting the default to TOKEN_PROGRAM_ADDRESS (the original SPL token program)
Example
Parameters
Parameter | Type |
---|---|
tokenProgram? | | Address | TokenProgramMonikers |
Returns
Address