import time


def build_payload(client_id, op, *args):
    """Builds a request object to be sent to all BFTList nodes."""
    return {
        "client_id": client_id,
        "timestamp": int(time.time()),
        "operation": {
            "type": op,
            "args": args
        }
    }