UNPKG

@qso-soft/shared

Version:

Shared library for QSO-soft

10 lines 387 B
export const estimateLayerzeroFee = async ({ adapterParams, publicClient, contract, destNetwork, abi, }) => { const txValue = (await publicClient.readContract({ address: contract, abi, functionName: 'estimateGasBridgeFee', args: [destNetwork, false, adapterParams], })); return txValue[0]; }; //# sourceMappingURL=estimate-layerzero-fee.js.map