• Parameters

    • connection: Connection
    • walletPubkey: PublicKey
    • token: SPLToken

    Returns Promise<TokenAmount | null>