Configuration
Blockchain Integration Data Query Apis Protocol Rest Queries Configuration (v1.0.0)
Download OpenAPI specification:Download
API Documentation for Blockchain Integration Data Query Apis Protocol Rest Queries Configuration
Response samples
- 200
Content type
application/json
{- "params": {
- "block": {
- "maxBytes": 0,
- "maxGas": 0
}, - "evidence": {
- "maxAgeNumBlocks": 0,
- "maxAgeDuration": "string",
- "maxBytes": 0
}, - "validator": {
- "pubKeyTypes": [
- "string"
]
}, - "version": {
- "app": 0
}, - "abci": {
- "voteExtensionsEnableHeight": 0
}
}
}Response samples
- 200
Content type
application/json
{- "params": {
- "mintDenom": "string",
- "inflationRateChange": "string",
- "inflationMax": "string",
- "inflationMin": "string",
- "goalBonded": "string",
- "blocksPerYear": 0
}
}Config returns the current app config.
Config returns the current app config.
Authorizations:
bearerAuth
header Parameters
| Connect-Protocol-Version required | number (Connect-Protocol-Version) Value: 1 Define the version of the Connect protocol Value: 1 |
| Connect-Timeout-Ms | number (Connect-Timeout-Ms) Define the timeout, in ms |
Request Body schema: application/jsonrequired
object (QueryConfigRequest)
QueryConfigRequest is the Query/Config request type.
Responses
Request samples
- Payload
Content type
application/json
{ }Response samples
- 200
- default
Content type
application/json
{- "config": {
- "modules": [
- {
- "name": "string",
- "config": {
- "type": "string",
- "value": "string"
}, - "golangBindings": [
- {
- "interfaceType": "string",
- "implementation": "string"
}
]
}
], - "golangBindings": [
- {
- "interfaceType": "string",
- "implementation": "string"
}
]
}
}Response samples
- 200
Content type
application/json
{- "params": {
- "signedBlocksWindow": 0,
- "minSignedPerWindow": "string",
- "downtimeJailDuration": "string",
- "slashFractionDoubleSign": "string",
- "slashFractionDowntime": "string"
}
}Params
Params queries all parameters of the gov module.
Authorizations:
bearerAuth
path Parameters
| params_type required | string (params_type) params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit". |
Responses
Response samples
- 200
Content type
application/json
{- "votingParams": {
- "votingPeriod": "string"
}, - "depositParams": {
- "minDeposit": [
- {
- "denom": "string",
- "amount": "string"
}
], - "maxDepositPeriod": "string"
}, - "tallyParams": {
- "quorum": "string",
- "threshold": "string",
- "vetoThreshold": "string"
}, - "params": {
- "minDeposit": [
- {
- "denom": "string",
- "amount": "string"
}
], - "maxDepositPeriod": "string",
- "votingPeriod": "string",
- "quorum": "string",
- "threshold": "string",
- "vetoThreshold": "string",
- "minInitialDepositRatio": "string",
- "proposalCancelRatio": "string",
- "proposalCancelDest": "string",
- "expeditedVotingPeriod": "string",
- "expeditedThreshold": "string",
- "expeditedMinDeposit": [
- {
- "denom": "string",
- "amount": "string"
}
], - "burnVoteQuorum": true,
- "burnProposalDepositPrevote": true,
- "burnVoteVeto": true,
- "minDepositRatio": "string"
}
}Response samples
- 200
Content type
application/json
{- "params": {
- "defaultSplit": 0,
- "denomSplits": [
- {
- "denom": "string",
- "split": 0
}
], - "feeCreatePaymentFlat": [
- {
- "denom": "string",
- "amount": "string"
}
], - "feeAcceptPaymentFlat": [
- {
- "denom": "string",
- "amount": "string"
}
]
}
}OSLocatorParams
OSLocatorParams returns all parameters for the object store locator sub module.
Authorizations:
bearerAuth
query Parameters
| includeRequest | boolean (include_request) include_request is a flag for whether to include this request in your result. |
Responses
Response samples
- 200
Content type
application/json
{- "params": {
- "maxUriLength": 0
}, - "request": {
- "includeRequest": true
}
}Params
Params queries the parameters of x/metadata module.
Authorizations:
bearerAuth
query Parameters
| includeRequest | boolean (include_request) include_request is a flag for whether to include this request in your result. |
Responses
Response samples
- 200
Content type
application/json
{- "params": { },
- "request": {
- "includeRequest": true
}
}