@hyperbridge/sdk 1.3.16 → 1.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1693,6 +1693,8 @@ declare class EvmChain implements IChain {
1693
1693
  * @returns The total fee in wei required to send the post request
1694
1694
  */
1695
1695
  quote(request: IPostRequest): Promise<bigint>;
1696
+ quoteNative(request: IPostRequest, fee: bigint): Promise<bigint>;
1697
+ private getAmountsIn;
1696
1698
  /**
1697
1699
  * Estimates the gas required for a post request execution on this chain.
1698
1700
  * This function generates mock proofs for the post request, creates a state override
@@ -2645,7 +2647,7 @@ declare class IntentGateway {
2645
2647
  * @param amountOut - The desired output amount
2646
2648
  * @returns Object containing the best protocol, required input amount, and fee tier (for V3/V4)
2647
2649
  */
2648
- findBestProtocolWithAmountOut(getQuoteIn: "source" | "dest", tokenIn: HexString, tokenOut: HexString, amountOut: bigint): Promise<{
2650
+ findBestProtocolWithAmountOut(getQuoteIn: "source" | "dest", tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string, selectedProtocol?: "v2" | "v3" | "v4"): Promise<{
2649
2651
  protocol: "v2" | "v3" | "v4" | null;
2650
2652
  amountIn: bigint;
2651
2653
  fee?: number;