def get_amount_sat(self) -> Optional[Decimal]:
    if (self.amount is None):
        return None
    return (self.amount * COIN)
def get_amount_sat(self) -> Optional[Decimal]:
    if (self.amount is None):
        return None
    return (self.amount * COIN)