BTC.b launch. A new yieldless, risk-free Bitcoin wrapper token.
Both tokens are minted on Lombard Ledger (the appchain powering the Lombard ecosystem) and bridged via burn-and-mint mechanisms. Two Proof of Reserve feeds are required, one for each asset, with LBTC building on top of BTC.b.
Note: The steps below include testnet URLs. See API URLs at the end of this document for production endpoints.
Step 1: BTC.b (Lombard Protocol Solvency)
The supply of BTC backing Lombard Protocol compared to BTC represented on Lombard Ledger.
Calculate btcReserves:
BTC supply can be calculated and verified based on all Lombard Protocol BTC addresses. All Lombard Protocol BTC addresses are published on the Base network.
GET https://ledger-gastald.lombard-fi.com:1317/lombard-finance/ledger/assets/total_supply/ucbtc
Returns a JSON object with a value field.
Calculate the ratio:
Any ratio value > 1.0 should be clipped to 1.0 for reporting purposes, to prove the statement that the protocol is fully solvent.
Any ratio value < 1.0 should trigger secondary checks where possible before publishing. Alerts should be in place given the critical impact on DeFi activity (i.e. liquidations) from inaccurate reporting. Monitoring and incident response plan/escalation procedure between teams should be implemented.
Step 2: LBTC Ratio (LBTC/BTC)
Can be combined with Step 1 for completeness.
Option A: Calculate via Supply
Retrieve lbtcSupply from Lombard Ledger:
Retrieve btcBackingLBTC from Lombard Ledger:
Calculate:
Option B: Use Ratio Directly
Get the ratio directly from Lombard Ledger's LBTC vault view function:
If needed, calculate the inverse: rate = 1 / ratio.
Interpreting the value:
Any value > 1.0 shows that LBTC has gained value relative to BTC.
Any value < 1.0 shows that LBTC has lost value relative to BTC. Implement secondary checks where possible before publishing. Alerts should be in place given the critical impact on DeFi activity (i.e. liquidations) from inaccurate reporting. Monitoring and incident response plan/escalation procedure should be provided.
Step 3: BTC.b Ratio
Option A: From Lombard Ledger and Destination Chains
Option B: From Bitcoin Network, Lombard Ledger and Destination Chains
API URLs
Environment
URL
Networks
Testnet
https://ledger-gastald.lombard-fi.com:1317
Bitcoin Signet, Ethereum Holesky
Production (load balanced)
https://ledger-mainnet.lombard-fi.com:1317
Mainnet
Query Data at a Specific Block
Resolve Block at a Specific Timestamp
Function to get a Cosmos block height at a specific timestamp via binary search on Tendermint RPC: