Returns the correct endpoint name for the current API version. E.g. versionedEndpoint('getCompressedAccount') -> 'getCompressedAccount' (V1) or 'getCompressedAccountV2' (V2)
Returns the correct endpoint name for the current API version. E.g. versionedEndpoint('getCompressedAccount') -> 'getCompressedAccount' (V1) or 'getCompressedAccountV2' (V2)