- Preparing search index...
- The search index is not available
handle-sdk
Methods
Static
Private
getHighestWeightRoute
- getHighestWeightRoute(weightInfo): Promise<{
calculatedWeight: number;
quote: ((input) => Promise<RawQuote>);
transaction: ((input) => Promise<PopulatedTransaction>);
}>
-
Returns Promise<{
calculatedWeight: number;
quote: ((input) => Promise<RawQuote>);
transaction: ((input) => Promise<PopulatedTransaction>);
}>
Static
getQuote
- getQuote(input): Promise<Quote>
-
Returns Promise<Quote>
Static
getSwap
- getSwap(input): Promise<PopulatedTransaction>
-
Parameters
-
input: ConvertTransactionInput
Returns Promise<PopulatedTransaction>
Static
Private
getValidatedNetwork
- getValidatedNetwork(token1, token2, signerOrProvider?): Promise<"base" | "ethereum" | "arbitrum" | "polygon" | "arbitrum-sepolia">
-
Parameters
-
-
-
Optional
signerOrProvider: Signer | Provider
Optional
Returns Promise<"base" | "ethereum" | "arbitrum" | "polygon" | "arbitrum-sepolia">