API Reference
Factory methods
API (full β transactions + data):
SDK.createZLPAPI(network, provider, apiEndpoint, connectionURL)SDK.createSLPAPI(network, provider, apiEndpoint, connectionURL)SDK.createUSDZAPI(network, provider, apiEndpoint, connectionURL)SDK.createAPI(LPToken, network, provider, apiEndpoint, connectionURL)
DataAPI (read-only):
SDK.createZLPDataAPI(network, provider, apiEndpoint, connectionURL)SDK.createSLPDataAPI(network, provider, apiEndpoint, connectionURL)SDK.createUSDZDataAPI(network, provider, apiEndpoint, connectionURL)SDK.createDataAPI(LPToken, network, provider, apiEndpoint, connectionURL)
Interfaces
Base:
IBaseAPI,IBaseDataAPIfor common operationsLP-specific:
IZLPAPI,ISLPAPI,IUSDZAPIfor typed usageData types:
IBaseMarketValuationInfo,IBaseVaultInfo,IBaseSymbolInfo,IBasePositionInfo,IBaseOrderInfo, etc.
Source code
Interfaces:
src/interfaces/β TypeScript interface definitionsImplementations:
src/implementations/β Concrete API implementationsAbstract classes:
src/abstract/β Shared base functionalityFactory:
src/factory/SDKFactory.tsβ SDK instance creation
See the type definitions and source for detailed method signatures and parameters.
Last updated