@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Function versionedEndpoint

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

      Parameters

      • base: string

      Returns string