UNPKG

@yoroi/swap

Version:
14 lines (12 loc) 305 B
/** * Flowtype definitions for getBestSwap * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import { Swap } from "@yoroi/types"; declare export var getBestSwap: ( tokenOutPrice: number ) => <T: Swap.EstimateResponse | Swap.CreateResponse>( best: T, candidate: T ) => T;