@molecularlabs/nucleus-frontend
Version:
Nucleus BoringVault Frontend SDK
17 lines (14 loc) • 561 B
TypeScript
import { Address } from 'viem';
import { ChainId } from '../api/vault-config.js';
import { VaultKey } from '../vaults/config.js';
import 'viem/chains';
interface GetPreviewFeeParams {
vaultKey: VaultKey;
bridgeAmount: bigint;
sourceChainId: ChainId;
destinationChainId: ChainId;
userAddress: Address;
nativeTokenForBridgeFee?: Address;
}
declare const getBridgeFee: ({ vaultKey, bridgeAmount, sourceChainId, destinationChainId, userAddress, nativeTokenForBridgeFee, }: GetPreviewFeeParams) => Promise<bigint>;
export { getBridgeFee };