Cosmos Slashing V1Beta1 is an example object payload from Cosmos, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
groupbaseURLoperations
Example Payload
{
"group": "cosmos/slashing/v1beta1",
"baseURL": "https://lcd.cosmos.network",
"operations": [
{
"method": "GET",
"path": "/cosmos/slashing/v1beta1/params",
"operationId": "SlashingParams",
"summary": "Params queries the parameters of slashing module",
"tags": [
"Query"
],
"parameters": [],
"example_request": {},
"example_response": {}
},
{
"method": "GET",
"path": "/cosmos/slashing/v1beta1/signing_infos",
"operationId": "SigningInfos",
"summary": "SigningInfos queries signing info of all validators",
"tags": [
"Query"
],
"parameters": [
{
"name": "pagination.key",
"in": "query",
"required": false,
"description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.",
"type": "string"
},
{
"name": "pagination.offset",
"in": "query",
"required": false,
"description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.",
"type": "string"
},
{
"name": "pagination.limit",
"in": "query",
"required": false,
"description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.",
"type": "string"
},
{
"name": "pagination.countTotal",
"in": "query",
"required": false,
"description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.",
"type": "boolean"
},
{
"name": "pagination.reverse",
"in": "query",
"required": false,
"description": "reverse is set to true if results are to be returned in the descending order.",
"type": "boolean"
}
],
"example_request": {},
"example_response": {}
},
{
"method": "GET",
"path": "/cosmos/slashing/v1beta1/signing_infos/{consAddress}",
"operationId": "SigningInfo",
"summary": "SigningInfo queries the signing info of given cons address",
"tags": [
"Query"
],
"parameters": [
{
"name": "consAddress",
"in": "path",
"required": true,
"description": "cons_address is the address to query signing info of",
"type": "string"
}
],
"example_request": {},
"example_response": {}
}
]
}