diff --git a/pyinjective/composer.py b/pyinjective/composer.py index bfb87b81..e9e49e7a 100644 --- a/pyinjective/composer.py +++ b/pyinjective/composer.py @@ -1819,7 +1819,7 @@ def msg_decrease_position_margin( destination_subaccount_id: str, market_id: str, amount: Decimal, - ): + ) -> injective_exchange_tx_pb.MsgDecreasePositionMargin: market = self.derivative_markets[market_id] additional_margin = market.margin_to_chain_format(human_readable_value=amount)