Function estimateBridgeWithdrawQuantity

  • Estimate the quantity of tokens delivered to the target chain via bridged withdrawal

    Parameters

    • parameters: {
          exchangeLayerZeroAdapterAddress: string;
          stargateForwarderAddress: string;
          payload: string;
          quantityInDecimal: string;
      }
      • exchangeLayerZeroAdapterAddress: string
      • stargateForwarderAddress: string
      • payload: string
      • quantityInDecimal: string
    • providers: {
          ethereum: Provider;
          katana: Provider;
      }
    • sandbox: boolean

    Returns Promise<{
        estimatedWithdrawQuantityInDecimal: string;
        minimumWithdrawQuantityInDecimal: string;
        willSucceed: boolean;
    }>