{ "opencollection": "1.0.0", "info": { "name": "Cosmos SDK - gRPC Gateway docs Query API", "version": "1.0.0" }, "items": [ { "info": { "name": "Query", "type": "folder" }, "items": [ { "info": { "name": "AccountInfo queries account info which is common to all account types.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/account_info/:address", "params": [ { "name": "address", "value": "", "type": "path", "description": "address is the account address string." } ] }, "docs": "AccountInfo queries account info which is common to all account types." }, { "info": { "name": "Accounts returns all the existing accounts.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/accounts", "params": [ { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Account returns account details based on address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/accounts/:address", "params": [ { "name": "address", "value": "", "type": "path", "description": "address defines the address to query for." } ] }, "docs": "Account returns account details based on address." }, { "info": { "name": "AccountAddressByID returns account address based on account number.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/address_by_id/:accountId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "account_id is the account number of the address to be queried." }, { "name": "id", "value": "", "type": "query", "description": "Deprecated, use account_id instead\n\nid is the account number of the address to be queried. This field\nshould have been an uint64 (like all account numbers), and will be\nupdated to uint64 in a future version of the auth query." } ] }, "docs": "AccountAddressByID returns account address based on account number." }, { "info": { "name": "Bech32Prefix queries bech32Prefix", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/bech32" }, "docs": "Bech32Prefix queries bech32Prefix" }, { "info": { "name": "AddressBytesToString converts Account Address bytes to string", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/bech32/:addressBytes", "params": [ { "name": "addressBytes", "value": "", "type": "path" } ] }, "docs": "AddressBytesToString converts Account Address bytes to string" }, { "info": { "name": "AddressStringToBytes converts Address string to bytes", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/bech32/:addressString", "params": [ { "name": "addressString", "value": "", "type": "path" } ] }, "docs": "AddressStringToBytes converts Address string to bytes" }, { "info": { "name": "ModuleAccounts returns all the existing module accounts.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/module_accounts" }, "docs": "ModuleAccounts returns all the existing module accounts." }, { "info": { "name": "ModuleAccountByName returns the module account info by module name", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/module_accounts/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "ModuleAccountByName returns the module account info by module name" }, { "info": { "name": "Params queries all parameters.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/auth/v1beta1/params" }, "docs": "Params queries all parameters." }, { "info": { "name": "Returns list of `Authorization`, granted to the grantee by the granter.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/authz/v1beta1/grants", "params": [ { "name": "granter", "value": "", "type": "query" }, { "name": "grantee", "value": "", "type": "query" }, { "name": "msgTypeUrl", "value": "", "type": "query", "description": "Optional, msg_type_url, when set, will query only grants matching given msg type." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Returns list of `Authorization`, granted to the grantee by the granter." }, { "info": { "name": "GranteeGrants returns a list of `GrantAuthorization` by grantee.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/authz/v1beta1/grants/grantee/:grantee", "params": [ { "name": "grantee", "value": "", "type": "path" }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "GranteeGrants returns a list of `GrantAuthorization` by grantee." }, { "info": { "name": "GranterGrants returns list of `GrantAuthorization`, granted by granter.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/authz/v1beta1/grants/granter/:granter", "params": [ { "name": "granter", "value": "", "type": "path" }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "GranterGrants returns list of `GrantAuthorization`, granted by granter." }, { "info": { "name": "AllBalances queries the balance of all coins for a single account.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/balances/:address", "params": [ { "name": "address", "value": "", "type": "path", "description": "address is the address to query balances for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." }, { "name": "resolveDenom", "value": "", "type": "query", "description": "resolve_denom is the flag to resolve the denom into a human-readable form from the metadata." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Balance queries the balance of a single coin for a single account.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/balances/:address/by_denom", "params": [ { "name": "address", "value": "", "type": "path", "description": "address is the address to query balances for." }, { "name": "denom", "value": "", "type": "query", "description": "denom is the coin denom to query balances for." } ] }, "docs": "Balance queries the balance of a single coin for a single account." }, { "info": { "name": "DenomOwners queries for all account addresses that own a particular token\ndenomination.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/denom_owners/:denom", "params": [ { "name": "denom", "value": "", "type": "path", "description": "denom defines the coin denomination to query all account holders for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "DenomOwnersByQuery queries for all account addresses that own a particular token\ndenomination.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/denom_owners_by_query", "params": [ { "name": "denom", "value": "", "type": "query", "description": "denom defines the coin denomination to query all account holders for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "DenomOwnersByQuery queries for all account addresses that own a particular token\ndenomination." }, { "info": { "name": "DenomsMetadata queries the client metadata for all registered coin\ndenominations.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/denoms_metadata", "params": [ { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "DenomsMetadata queries the client metadata for all registered coin\ndenominations." }, { "info": { "name": "DenomMetadata queries the client metadata of a given coin denomination.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/denoms_metadata/:denom", "params": [ { "name": "denom", "value": "", "type": "path", "description": "denom is the coin denom to query the metadata for." } ] }, "docs": "DenomMetadata queries the client metadata of a given coin denomination." }, { "info": { "name": "DenomMetadataByQueryString queries the client metadata of a given coin denomination.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/denoms_metadata_by_query_string", "params": [ { "name": "denom", "value": "", "type": "query", "description": "denom is the coin denom to query the metadata for." } ] }, "docs": "DenomMetadataByQueryString queries the client metadata of a given coin denomination." }, { "info": { "name": "Params queries the parameters of x/bank module.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/params" }, "docs": "Params queries the parameters of x/bank module." }, { "info": { "name": "SendEnabled queries for SendEnabled entries.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/send_enabled", "params": [ { "name": "denoms", "value": "", "type": "query", "description": "denoms is the specific denoms you want look up. Leave empty to get all entries." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "This query only returns denominations that have specific SendEnabled settings.\nAny denomination that does not have a specific setting will use the default\nparams.default_send_enabled, and will not be returned by this query." }, { "info": { "name": "SpendableBalances queries the spendable balance of all coins for a single\naccount.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/spendable_balances/:address", "params": [ { "name": "address", "value": "", "type": "path", "description": "address is the address to query spendable balances for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "SpendableBalanceByDenom queries the spendable balance of a single denom for\na single account.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/spendable_balances/:address/by_denom", "params": [ { "name": "address", "value": "", "type": "path", "description": "address is the address to query balances for." }, { "name": "denom", "value": "", "type": "query", "description": "denom is the coin denom to query balances for." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "TotalSupply queries the total supply of all coins.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/supply", "params": [ { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "SupplyOf queries the supply of a single coin.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/bank/v1beta1/supply/by_denom", "params": [ { "name": "denom", "value": "", "type": "query", "description": "denom is the coin denom to query balances for." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Params queries the parameters of x/consensus module.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/consensus/v1/params" }, "docs": "Params queries the parameters of x/consensus module." }, { "info": { "name": "CommunityPool queries the community pool coins.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/community_pool" }, "docs": "CommunityPool queries the community pool coins." }, { "info": { "name": "DelegationTotalRewards queries the total rewards accrued by each\nvalidator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/delegators/:delegatorAddress/rewards", "params": [ { "name": "delegatorAddress", "value": "", "type": "path", "description": "delegator_address defines the delegator address to query for." } ] }, "docs": "DelegationTotalRewards queries the total rewards accrued by each\nvalidator." }, { "info": { "name": "DelegationRewards queries the total rewards accrued by a delegation.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/delegators/:delegatorAddress/rewards/:validatorAddress", "params": [ { "name": "delegatorAddress", "value": "", "type": "path", "description": "delegator_address defines the delegator address to query for." }, { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "DelegationRewards queries the total rewards accrued by a delegation." }, { "info": { "name": "DelegatorStartingInfo queries the starting info for a delegator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/delegators/:delegatorAddress/starting_info/:validatorAddress", "params": [ { "name": "delegatorAddress", "value": "", "type": "path", "description": "delegator_address defines the delegator address to query for." }, { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "DelegatorStartingInfo queries the starting info for a delegator." }, { "info": { "name": "DelegatorValidators queries the validators of a delegator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/delegators/:delegatorAddress/validators", "params": [ { "name": "delegatorAddress", "value": "", "type": "path", "description": "delegator_address defines the delegator address to query for." } ] }, "docs": "DelegatorValidators queries the validators of a delegator." }, { "info": { "name": "DelegatorWithdrawAddress queries withdraw address of a delegator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/delegators/:delegatorAddress/withdraw_address", "params": [ { "name": "delegatorAddress", "value": "", "type": "path", "description": "delegator_address defines the delegator address to query for." } ] }, "docs": "DelegatorWithdrawAddress queries withdraw address of a delegator." }, { "info": { "name": "Params queries params of the distribution module.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/params" }, "docs": "Params queries params of the distribution module." }, { "info": { "name": "ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator" }, { "info": { "name": "ValidatorCommission queries accumulated commission for a validator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress/commission", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "ValidatorCommission queries accumulated commission for a validator." }, { "info": { "name": "ValidatorCurrentRewards queries current rewards for a validator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress/current_rewards", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "ValidatorCurrentRewards queries current rewards for a validator." }, { "info": { "name": "ValidatorHistoricalRewards queries historical rewards for a validator at a specific period.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress/historical_rewards/:period", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." }, { "name": "period", "value": "", "type": "path", "description": "period defines the period to query historical rewards for." } ] }, "docs": "ValidatorHistoricalRewards queries historical rewards for a validator at a specific period." }, { "info": { "name": "ValidatorOutstandingRewards queries rewards of a validator address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress/outstanding_rewards", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." } ] }, "docs": "ValidatorOutstandingRewards queries rewards of a validator address." }, { "info": { "name": "ValidatorSlashes queries slash events of a validator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/distribution/v1beta1/validators/:validatorAddress/slashes", "params": [ { "name": "validatorAddress", "value": "", "type": "path", "description": "validator_address defines the validator address to query for." }, { "name": "startingHeight", "value": "", "type": "query", "description": "starting_height defines the optional starting height to query the slashes." }, { "name": "endingHeight", "value": "", "type": "query", "description": "starting_height defines the optional ending height to query the slashes." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "ValidatorSlashes queries slash events of a validator." }, { "info": { "name": "CurrentEpoch provide current epoch of specified identifier", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/epochs/v1beta1/current_epoch", "params": [ { "name": "identifier", "value": "", "type": "query" } ] }, "docs": "CurrentEpoch provide current epoch of specified identifier" }, { "info": { "name": "EpochInfos provide running epochInfos", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/epochs/v1beta1/epochs" }, "docs": "EpochInfos provide running epochInfos" }, { "info": { "name": "AllEvidence queries all evidence.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/evidence/v1beta1/evidence", "params": [ { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "AllEvidence queries all evidence." }, { "info": { "name": "Evidence queries evidence based on evidence hash.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/evidence/v1beta1/evidence/:hash", "params": [ { "name": "hash", "value": "", "type": "path", "description": "hash defines the evidence hash of the requested evidence." }, { "name": "evidenceHash", "value": "", "type": "query", "description": "evidence_hash defines the hash of the requested evidence.\nDeprecated: Use hash, a HEX encoded string, instead." } ] }, "docs": "Evidence queries evidence based on evidence hash." }, { "info": { "name": "Allowance returns granted allowance to the grantee by the granter.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/feegrant/v1beta1/allowance/:granter/:grantee", "params": [ { "name": "granter", "value": "", "type": "path", "description": "granter is the address of the user granting an allowance of their funds." }, { "name": "grantee", "value": "", "type": "path", "description": "grantee is the address of the user being granted an allowance of another user's funds." } ] }, "docs": "Allowance returns granted allowance to the grantee by the granter." }, { "info": { "name": "Allowances returns all the grants for the given grantee address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/feegrant/v1beta1/allowances/:grantee", "params": [ { "name": "grantee", "value": "", "type": "path" }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Allowances returns all the grants for the given grantee address." }, { "info": { "name": "AllowancesByGranter returns all the grants given by an address", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/feegrant/v1beta1/issued/:granter", "params": [ { "name": "granter", "value": "", "type": "path" }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "AllowancesByGranter returns all the grants given by an address" }, { "info": { "name": "Constitution queries the chain's constitution.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/constitution" }, "docs": "Constitution queries the chain's constitution." }, { "info": { "name": "Params queries all parameters of the gov module.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/params/:paramsType", "params": [ { "name": "paramsType", "value": "", "type": "path", "description": "params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\"." } ] }, "docs": "Params queries all parameters of the gov module." }, { "info": { "name": "Proposals queries all proposals based on given status.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals", "params": [ { "name": "proposalStatus", "value": "", "type": "query", "description": "proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." }, { "name": "voter", "value": "", "type": "query", "description": "voter defines the voter address for the proposals." }, { "name": "depositor", "value": "", "type": "query", "description": "depositor defines the deposit addresses from the proposals." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Proposals queries all proposals based on given status." }, { "info": { "name": "Proposal queries proposal details based on ProposalID.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." } ] }, "docs": "Proposal queries proposal details based on ProposalID." }, { "info": { "name": "Deposits queries all deposits of a single proposal.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId/deposits", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Deposits queries all deposits of a single proposal." }, { "info": { "name": "Deposit queries single deposit information based on proposalID, depositAddr.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId/deposits/:depositor", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "depositor", "value": "", "type": "path", "description": "depositor defines the deposit addresses from the proposals." } ] }, "docs": "Deposit queries single deposit information based on proposalID, depositAddr." }, { "info": { "name": "TallyResult queries the tally of a proposal vote.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId/tally", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." } ] }, "docs": "TallyResult queries the tally of a proposal vote." }, { "info": { "name": "Votes queries votes of a given proposal.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId/votes", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Votes queries votes of a given proposal." }, { "info": { "name": "Vote queries voted information based on proposalID, voterAddr.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1/proposals/:proposalId/votes/:voter", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "voter", "value": "", "type": "path", "description": "voter defines the voter address for the proposals." } ] }, "docs": "Vote queries voted information based on proposalID, voterAddr." }, { "info": { "name": "Params queries all parameters of the gov module.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/params/:paramsType", "params": [ { "name": "paramsType", "value": "", "type": "path", "description": "params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\"." } ] }, "docs": "Params queries all parameters of the gov module." }, { "info": { "name": "Proposals queries all proposals based on given status.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals", "params": [ { "name": "proposalStatus", "value": "", "type": "query", "description": "proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." }, { "name": "voter", "value": "", "type": "query", "description": "voter defines the voter address for the proposals." }, { "name": "depositor", "value": "", "type": "query", "description": "depositor defines the deposit addresses from the proposals." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Proposals queries all proposals based on given status." }, { "info": { "name": "Proposal queries proposal details based on ProposalID.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." } ] }, "docs": "Proposal queries proposal details based on ProposalID." }, { "info": { "name": "Deposits queries all deposits of a single proposal.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId/deposits", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Deposits queries all deposits of a single proposal." }, { "info": { "name": "Deposit queries single deposit information based on proposalID, depositor address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId/deposits/:depositor", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "depositor", "value": "", "type": "path", "description": "depositor defines the deposit addresses from the proposals." } ] }, "docs": "Deposit queries single deposit information based on proposalID, depositor address." }, { "info": { "name": "TallyResult queries the tally of a proposal vote.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId/tally", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." } ] }, "docs": "TallyResult queries the tally of a proposal vote." }, { "info": { "name": "Votes queries votes of a given proposal.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId/votes", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "Votes queries votes of a given proposal." }, { "info": { "name": "Vote queries voted information based on proposalID, voterAddr.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/gov/v1beta1/proposals/:proposalId/votes/:voter", "params": [ { "name": "proposalId", "value": "", "type": "path", "description": "proposal_id defines the unique id of the proposal." }, { "name": "voter", "value": "", "type": "path", "description": "voter defines the voter address for the proposals." } ] }, "docs": "Vote queries voted information based on proposalID, voterAddr." }, { "info": { "name": "AnnualProvisions current minting annual provisions value.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/mint/v1beta1/annual_provisions" }, "docs": "AnnualProvisions current minting annual provisions value." }, { "info": { "name": "Inflation returns the current minting inflation value.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/mint/v1beta1/inflation" }, "docs": "Inflation returns the current minting inflation value." }, { "info": { "name": "Params returns the total set of minting parameters.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/mint/v1beta1/params" }, "docs": "Params returns the total set of minting parameters." }, { "info": { "name": "Params queries the parameters of slashing module", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/slashing/v1beta1/params" }, "docs": "Params queries the parameters of slashing module" }, { "info": { "name": "SigningInfos queries signing info of all validators", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/slashing/v1beta1/signing_infos", "params": [ { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "SigningInfos queries signing info of all validators" }, { "info": { "name": "SigningInfo queries the signing info of given cons address", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/slashing/v1beta1/signing_infos/:consAddress", "params": [ { "name": "consAddress", "value": "", "type": "path", "description": "cons_address is the address to query signing info of" } ] }, "docs": "SigningInfo queries the signing info of given cons address" }, { "info": { "name": "DelegatorDelegations queries all delegations of a given delegator address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/delegations/:delegatorAddr", "params": [ { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Redelegations queries redelegations of given address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/delegators/:delegatorAddr/redelegations", "params": [ { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." }, { "name": "srcValidatorAddr", "value": "", "type": "query", "description": "src_validator_addr defines the validator address to redelegate from." }, { "name": "dstValidatorAddr", "value": "", "type": "query", "description": "dst_validator_addr defines the validator address to redelegate to." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "DelegatorUnbondingDelegations queries all unbonding delegations of a given\ndelegator address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/delegators/:delegatorAddr/unbonding_delegations", "params": [ { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "DelegatorValidators queries all validators info for given delegator\naddress.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/delegators/:delegatorAddr/validators", "params": [ { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "DelegatorValidator queries validator info for given delegator validator\npair.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/delegators/:delegatorAddr/validators/:validatorAddr", "params": [ { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." }, { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." } ] }, "docs": "DelegatorValidator queries validator info for given delegator validator\npair." }, { "info": { "name": "HistoricalInfo queries the historical info for given height.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/historical_info/:height", "params": [ { "name": "height", "value": "", "type": "path", "description": "height defines at which height to query the historical info." } ] }, "docs": "HistoricalInfo queries the historical info for given height." }, { "info": { "name": "Parameters queries the staking parameters.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/params" }, "docs": "Parameters queries the staking parameters." }, { "info": { "name": "Pool queries the pool info.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/pool" }, "docs": "Pool queries the pool info." }, { "info": { "name": "Validators queries all validators that match the given status.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators", "params": [ { "name": "status", "value": "", "type": "query", "description": "status enables to query for validators matching a given status." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Validator queries validator info for given validator address.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators/:validatorAddr", "params": [ { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." } ] }, "docs": "Validator queries validator info for given validator address." }, { "info": { "name": "ValidatorDelegations queries delegate info for given validator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators/:validatorAddr/delegations", "params": [ { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "Delegation queries delegate info for given validator delegator pair.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators/:validatorAddr/delegations/:delegatorAddr", "params": [ { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." }, { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." } ] }, "docs": "Delegation queries delegate info for given validator delegator pair." }, { "info": { "name": "UnbondingDelegation queries unbonding info for given validator delegator\npair.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators/:validatorAddr/delegations/:delegatorAddr/unbonding_delegation", "params": [ { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." }, { "name": "delegatorAddr", "value": "", "type": "path", "description": "delegator_addr defines the delegator address to query for." } ] }, "docs": "UnbondingDelegation queries unbonding info for given validator delegator\npair." }, { "info": { "name": "ValidatorUnbondingDelegations queries unbonding delegations of a validator.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/staking/v1beta1/validators/:validatorAddr/unbonding_delegations", "params": [ { "name": "validatorAddr", "value": "", "type": "path", "description": "validator_addr defines the validator address to query for." }, { "name": "pagination.key", "value": "", "type": "query", "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." }, { "name": "pagination.offset", "value": "", "type": "query", "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." }, { "name": "pagination.limit", "value": "", "type": "query", "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." }, { "name": "pagination.countTotal", "value": "", "type": "query", "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." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set." }, { "info": { "name": "AppliedPlan queries a previously applied upgrade plan by its name.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/upgrade/v1beta1/applied_plan/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "name is the name of the applied plan to query for." } ] }, "docs": "AppliedPlan queries a previously applied upgrade plan by its name." }, { "info": { "name": "Returns the account with authority to conduct upgrades", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/upgrade/v1beta1/authority" }, "docs": "Returns the account with authority to conduct upgrades" }, { "info": { "name": "CurrentPlan queries the current upgrade plan.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/upgrade/v1beta1/current_plan" }, "docs": "CurrentPlan queries the current upgrade plan." }, { "info": { "name": "ModuleVersions queries the list of module versions from state.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/upgrade/v1beta1/module_versions", "params": [ { "name": "moduleName", "value": "", "type": "query", "description": "module_name is a field to query a specific module\nconsensus version from state. Leaving this empty will\nfetch the full list of module versions from state" } ] }, "docs": "ModuleVersions queries the list of module versions from state." }, { "info": { "name": "UpgradedConsensusState queries the consensus state that will serve\nas a trusted kernel for the next version of this chain. It will only be\nstored at the last height of this chain.\nUpgradedConsensusState RPC not supported with legacy querier\nThis rpc is deprecated now that IBC has its own replacement\n(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/upgrade/v1beta1/upgraded_consensus_state/:lastHeight", "params": [ { "name": "lastHeight", "value": "", "type": "path", "description": "last height of the current chain must be sent in request\nas this is the height under which next consensus state is stored" } ] }, "docs": "UpgradedConsensusState queries the consensus state that will serve\nas a trusted kernel for the next version of this chain. It will only be\nstored at the last height of this chain.\nUpgradedConsensusState RPC not supported with legacy querier\nThis rpc is deprecated now that IBC has its own replacement\n(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)" } ] } ], "bundled": true }