Cosmos API - Deprecated Methods
v1.5.3https://axelar.nownodes.ioAxelar API (API Changelog 1.4.10 to 1.5.3)API Changelog 1.4.10 to 1.5.3 - Cosmos API deprecated methods. These methods were available in version 1.4.10 and are no longer served in version 1.5.3. Each method is documented in full, in the format of the 1.4.10 API reference.
API Changelog 1.4.10 to 1.5.3 / Deprecated methods
Cosmos
Params queries all parameters of the gov module.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/params/{params_type} instead.
Parameters
params_typestringrequiredpathparams_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".
Response
A successful response.
An unexpected error response
Gov
Proposals queries all proposals based on given status.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals instead.
Parameters
proposal_statusstringPROPOSAL_STATUS_UNSPECIFIEDPROPOSAL_STATUS_DEPOSIT_PERIODPROPOSAL_STATUS_VOTING_PERIODPROPOSAL_STATUS_PASSEDPROPOSAL_STATUS_REJECTEDPROPOSAL_STATUS_FAILEDPROPOSAL_STATUS_UNSPECIFIEDqueryproposal_status defines the status of the proposals.
- PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
- PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
- PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
- PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
- PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
- PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
voterstringqueryvoter defines the voter address for the proposals.
depositorstringquerydepositor defines the deposit addresses from the proposals.
pagination.keystring<byte>querykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
pagination.offsetstring<uint64>queryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
pagination.limitstring<uint64>querylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
pagination.count_totalboolean<boolean>querycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
pagination.reverseboolean<boolean>queryreverse is set to true if results are to be returned in the descending order.
Since: cosmos-sdk 0.43
Response
A successful response.
An unexpected error response
Proposal queries proposal details based on ProposalID.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id} instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
Response
A successful response.
An unexpected error response
Deposits queries all deposits of a single proposal.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id}/deposits instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
pagination.keystring<byte>querykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
pagination.offsetstring<uint64>queryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
pagination.limitstring<uint64>querylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
pagination.count_totalboolean<boolean>querycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
pagination.reverseboolean<boolean>queryreverse is set to true if results are to be returned in the descending order.
Since: cosmos-sdk 0.43
Response
A successful response.
An unexpected error response
Deposit queries single deposit information based on proposalID, depositor address.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor} instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
depositorstringrequiredpathdepositor defines the deposit addresses from the proposals.
Response
A successful response.
An unexpected error response
TallyResult queries the tally of a proposal vote.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id}/tally instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
Response
A successful response.
An unexpected error response
Votes queries votes of a given proposal.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id}/votes instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
pagination.keystring<byte>querykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
pagination.offsetstring<uint64>queryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
pagination.limitstring<uint64>querylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
pagination.count_totalboolean<boolean>querycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
pagination.reverseboolean<boolean>queryreverse is set to true if results are to be returned in the descending order.
Since: cosmos-sdk 0.43
Response
A successful response.
An unexpected error response
Vote queries voted information based on proposalID, voterAddr.
This method is no longer available in version 1.5.3 (it was available in version 1.4.10). The gov module v1beta1 query endpoints were removed in 1.5.3; use the equivalent v1 endpoint /cosmos/gov/v1/proposals/{proposal_id}/votes/{voter} instead.
Parameters
proposal_idstring<uint64>requiredpathproposal_id defines the unique id of the proposal.
voterstringrequiredpathvoter defines the voter address for the proposals.
Response
A successful response.
An unexpected error response