@interlay/interbtc-api / Exports / TradingPair
• getOutputAmount: (inputAmount
: MonetaryAmount
<CurrencyExt
>) => MonetaryAmount
<CurrencyExt
>
▸ (inputAmount
): MonetaryAmount
<CurrencyExt
>
Name | Type |
---|---|
inputAmount |
MonetaryAmount <CurrencyExt > |
MonetaryAmount
<CurrencyExt
>
src/parachain/amm/trade/types.ts:11
• pathOf: (inputCurrency
: CurrencyExt
) => MultiPathElement
▸ (inputCurrency
): MultiPathElement
Name | Type |
---|---|
inputCurrency |
CurrencyExt |
src/parachain/amm/trade/types.ts:12
• reserve0: MonetaryAmount
<CurrencyExt
>
src/parachain/amm/trade/types.ts:9
• reserve1: MonetaryAmount
<CurrencyExt
>
src/parachain/amm/trade/types.ts:10
• token0: CurrencyExt
src/parachain/amm/trade/types.ts:7
• token1: CurrencyExt