Referral System
Overview
Adding Referral Codes
import { createLombardSDK, Chain, AssetId } from '@lombard.finance/sdk';
import { config } from './lib/lombard';
const sdk = createLombardSDK(config);
const stake = sdk.chain.btc.stake({
destChain: Chain.ETHEREUM,
assetOut: AssetId.LBTC,
});
await stake.prepare({
amount: '0.1',
recipient: '0x1234567890abcdef1234567890abcdef12345678',
referralCode: 'PARTNER123',
});
Checking Referral Status
Response Type
Referral Code Rules
Supported Actions
Last updated