UNPKG

@atomiqlabs/sdk

Version:

atomiq labs SDK for cross-chain swaps between smart chains and bitcoin

13 lines (12 loc) 379 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSwapWithGasDrop = void 0; /** * Type guard to check if a swap has gas drop functionality * * @category Swaps/Types */ function isSwapWithGasDrop(swap) { return swap != null && typeof (swap.getGasDropOutput) === "function"; } exports.isSwapWithGasDrop = isSwapWithGasDrop;