getAssociatedTokenAddress
Gets the associated token address of a Solana account
(async() => {
let associated_token_address_1 = await SOLPay.getAssociatedTokenAddress("TOKEN_ADDRESS"); // {"address": "..."}
let associated_token_address_2 = await SOLPay.getAssociatedTokenAddress("TOKEN_ADDRESS", "SOLANA_ADDRESS"); // {"address": "..."}
})();Parameters:
Returns:
Throws:
Last updated