def METHOD_NAME(self, tx_hash, wallet):
    tx = self.wallets[wallet]["wallet"].transactions.get(tx_hash)
    if tx is None:
        raise Exception("No such blockchain transaction")
    delta = self.wallets[wallet]["wallet"].get_wallet_delta(tx)
    return format_satoshis(delta.fee)