def METHOD_NAME(params, methodName, id = 1):
	if params and not type(params) is list:
		params = [params]
	payload = {"method":methodName,
		"params":params,
		"jsonrpc":"2.0",
		"id" : id
	}
	return payload