- Preparing search index...
- The search index is not available
rubic-sdk
Function getPriceTokensFromInputTokens
- getPriceTokensFromInputTokens<T>(from: Token<T> | {
address: string;
blockchain: T;
} | PriceToken<T>, fromAmount: string | number | BigNumber, to: string | Token<T> | PriceToken<T> | {
address: string;
blockchain: T;
}): Promise<{
from: PriceTokenAmount<T>;
to: PriceToken<T>;
}>
-
Parameters
-
from: Token<T> | {
address: string;
blockchain: T;
} | PriceToken<T>
-
fromAmount: string | number | BigNumber
-
to: string | Token<T> | PriceToken<T> | {
address: string;
blockchain: T;
}