Cosmos · Schema

Cosmos SDK cosmos.slashing.v1beta1 Schemas

JSON Schema definitions for the cosmos.slashing.v1beta1 module of the Cosmos SDK gRPC-gateway REST API.

BlockchainCosmosIBCStakingGovernanceDeFiWeb3
View JSON Schema on GitHub

JSON Schema

cosmos-slashing-v1beta1.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Cosmos SDK cosmos.slashing.v1beta1 Schemas",
  "description": "JSON Schema definitions for the cosmos.slashing.v1beta1 module of the Cosmos SDK gRPC-gateway REST API.",
  "definitions": {
    "cosmos.slashing.v1beta1.Params": {
      "type": "object",
      "properties": {
        "signedBlocksWindow": {
          "type": "string",
          "format": "int64"
        },
        "minSignedPerWindow": {
          "type": "string",
          "format": "byte"
        },
        "downtimeJailDuration": {
          "type": "string"
        },
        "slashFractionDoubleSign": {
          "type": "string",
          "format": "byte"
        },
        "slashFractionDowntime": {
          "type": "string",
          "format": "byte"
        }
      },
      "description": "Params represents the parameters used for by the slashing module."
    },
    "cosmos.slashing.v1beta1.QueryParamsResponse": {
      "type": "object",
      "properties": {
        "params": {
          "type": "object",
          "properties": {
            "signedBlocksWindow": {
              "type": "string",
              "format": "int64"
            },
            "minSignedPerWindow": {
              "type": "string",
              "format": "byte"
            },
            "downtimeJailDuration": {
              "type": "string"
            },
            "slashFractionDoubleSign": {
              "type": "string",
              "format": "byte"
            },
            "slashFractionDowntime": {
              "type": "string",
              "format": "byte"
            }
          },
          "description": "Params represents the parameters used for by the slashing module."
        }
      },
      "title": "QueryParamsResponse is the response type for the Query/Params RPC method"
    },
    "cosmos.slashing.v1beta1.QuerySigningInfoResponse": {
      "type": "object",
      "properties": {
        "valSigningInfo": {
          "title": "val_signing_info is the signing info of requested val cons address",
          "type": "object",
          "properties": {
            "address": {
              "type": "string"
            },
            "startHeight": {
              "type": "string",
              "format": "int64",
              "title": "Height at which validator was first a candidate OR was un-jailed"
            },
            "indexOffset": {
              "type": "string",
              "format": "int64",
              "description": "Index which is incremented every time a validator is bonded in a block and\n_may_ have signed a pre-commit or not. This in conjunction with the\nsigned_blocks_window param determines the index in the missed block bitmap."
            },
            "jailedUntil": {
              "type": "string",
              "format": "date-time",
              "description": "Timestamp until which the validator is jailed due to liveness downtime."
            },
            "tombstoned": {
              "type": "boolean",
              "description": "Whether or not a validator has been tombstoned (killed out of validator\nset). It is set once the validator commits an equivocation or for any other\nconfigured misbehavior."
            },
            "missedBlocksCounter": {
              "type": "string",
              "format": "int64",
              "description": "A counter of missed (unsigned) blocks. It is used to avoid unnecessary\nreads in the missed block bitmap."
            }
          },
          "description": "ValidatorSigningInfo defines a validator's signing info for monitoring their\nliveness activity."
        }
      },
      "title": "QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC\nmethod"
    },
    "cosmos.slashing.v1beta1.QuerySigningInfosResponse": {
      "type": "object",
      "properties": {
        "info": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "startHeight": {
                "type": "string",
                "format": "int64",
                "title": "Height at which validator was first a candidate OR was un-jailed"
              },
              "indexOffset": {
                "type": "string",
                "format": "int64",
                "description": "Index which is incremented every time a validator is bonded in a block and\n_may_ have signed a pre-commit or not. This in conjunction with the\nsigned_blocks_window param determines the index in the missed block bitmap."
              },
              "jailedUntil": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp until which the validator is jailed due to liveness downtime."
              },
              "tombstoned": {
                "type": "boolean",
                "description": "Whether or not a validator has been tombstoned (killed out of validator\nset). It is set once the validator commits an equivocation or for any other\nconfigured misbehavior."
              },
              "missedBlocksCounter": {
                "type": "string",
                "format": "int64",
                "description": "A counter of missed (unsigned) blocks. It is used to avoid unnecessary\nreads in the missed block bitmap."
              }
            },
            "description": "ValidatorSigningInfo defines a validator's signing info for monitoring their\nliveness activity."
          },
          "title": "info is the signing info of all validators"
        },
        "pagination": {
          "type": "object",
          "properties": {
            "nextKey": {
              "type": "string",
              "format": "byte",
              "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results."
            },
            "total": {
              "type": "string",
              "format": "uint64",
              "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise"
            }
          },
          "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n         repeated Bar results = 1;\n         PageResponse page = 2;\n }"
        }
      },
      "title": "QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC\nmethod"
    },
    "cosmos.slashing.v1beta1.ValidatorSigningInfo": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string"
        },
        "startHeight": {
          "type": "string",
          "format": "int64",
          "title": "Height at which validator was first a candidate OR was un-jailed"
        },
        "indexOffset": {
          "type": "string",
          "format": "int64",
          "description": "Index which is incremented every time a validator is bonded in a block and\n_may_ have signed a pre-commit or not. This in conjunction with the\nsigned_blocks_window param determines the index in the missed block bitmap."
        },
        "jailedUntil": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp until which the validator is jailed due to liveness downtime."
        },
        "tombstoned": {
          "type": "boolean",
          "description": "Whether or not a validator has been tombstoned (killed out of validator\nset). It is set once the validator commits an equivocation or for any other\nconfigured misbehavior."
        },
        "missedBlocksCounter": {
          "type": "string",
          "format": "int64",
          "description": "A counter of missed (unsigned) blocks. It is used to avoid unnecessary\nreads in the missed block bitmap."
        }
      },
      "description": "ValidatorSigningInfo defines a validator's signing info for monitoring their\nliveness activity."
    }
  }
}