UNPKG

@lidofinance/lido-ethereum-sdk

Version:

<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>

13 lines 447 B
import { fetchIPFS, IPFS_GATEWAY } from './ipfs.js'; import { getVaultData } from './report-proof.js'; export const getVaultReport = async (args) => { const { vault, cid, gateway = IPFS_GATEWAY, bigNumberType = 'string' } = args; const report = await fetchIPFS({ cid, gateway, bigNumberType, }); const vaultData = getVaultData(report, vault, cid); return vaultData; }; //# sourceMappingURL=report.js.map