UNPKG

@perk.money/perk-swap-core

Version:

This npm package contains core logic of Perk Aggregator build on top of NEAR blockchain

11 lines (10 loc) 446 B
/// <reference types="bn.js" /> import { Transaction } from '@near-wallet-selector/core'; import { SwapStep } from '../common/types'; export declare const getGas: (gas: string) => import("bn.js"); export declare const getAmount: (amount: string) => import("bn.js"); declare function createRefTransactions({ user, swapSteps, }: { user: string; swapSteps: SwapStep[]; }): Promise<Transaction[]>; export { createRefTransactions };