Data API
The Lombard SDK includes built-in data-fetching methods for querying backend services. These enable building dashboards and transaction tracking systems.
Available Features
- Retrieve deposit and unstake transaction history for any address
- Fetch Lux points balances across seasons
- Access current exchange ratios between BTC and LBTC
- Look up existing Bitcoin deposit addresses
Quick Access
All data methods are available through sdk.api.*:
const sdk = createLombardSDK(config);
const deposits = await sdk.api.deposits('0x...');
const unstakes = await sdk.api.unstakes('0x...');
const points = await sdk.api.points('0x...');
const ratio = await sdk.api.exchangeRatio();
const address = await sdk.api.depositAddress('0x...', chainId);See API Methods for the complete reference.
Last updated on