bitcart/utils.py
def satoshis(amount: Decimal) -> int:
    """Convert amount from bitcoins to satoshis

    Args:
        amount (Decimal): bitcoin amount

    Returns:
        int: same amount in satoshis
    """
    return int(amount * CONVERT_RATE)
Convert amount from bitcoins to satoshis

    Args:
        amount (Decimal): bitcoin amount

    Returns:
        int: same amount in satoshis
    
Convert amount from bitcoins to satoshis
Convert amount from bitcoins to satoshis
def satoshis(amount: Decimal) -> int:
    return int(amount * CONVERT_RATE)
def satoshis ( amount : Decimal ) -> int : return int ( amount * CONVERT_RATE )
Convert amount from bitcoins to satoshis
Convert amount from bitcoins to satoshis
"""Convert amount from bitcoins to satoshis

    Args:
        amount (Decimal): bitcoin amount

    Returns:
        int: same amount in satoshis
    """
same amount in satoshis
same amount in satoshis
int
amount
Decimal
None