diff --git a/cdp/wallet_address.py b/cdp/wallet_address.py index 58e86e8..e8d801d 100644 --- a/cdp/wallet_address.py +++ b/cdp/wallet_address.py @@ -357,9 +357,11 @@ def quote_fund(self, amount: Number | Decimal | str, asset_id: str) -> FundQuote FundQuote: The fund quote object. """ + normalized_amount = Decimal(amount) + return FundQuote.create( address_id=self.address_id, - amount=str(amount), + amount=str(normalized_amount), asset_id=asset_id, network_id=self.network_id, wallet_id=self.wallet_id,