Home

Cosmos API - Deprecated Methods

v1.5.3
Base URL
https://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.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/params/{params_type}

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_typestringrequiredpath

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Response

200OK

A successful response.

default

An unexpected error response

Gov

Proposals queries all proposals based on given status.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals

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_UNSPECIFIEDquery

proposal_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.
voterstringquery

voter defines the voter address for the proposals.

depositorstringquery

depositor defines the deposit addresses from the proposals.

pagination.keystring<byte>query

key 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>query

offset 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>query

limit 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>query

count_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>query

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response

Proposal queries proposal details based on ProposalID.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}

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>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response

Deposits queries all deposits of a single proposal.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits

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>requiredpath

proposal_id defines the unique id of the proposal.

pagination.keystring<byte>query

key 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>query

offset 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>query

limit 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>query

count_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>query

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response

Deposit queries single deposit information based on proposalID, depositor address.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}

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>requiredpath

proposal_id defines the unique id of the proposal.

depositorstringrequiredpath

depositor defines the deposit addresses from the proposals.

Response

200OK

A successful response.

default

An unexpected error response

TallyResult queries the tally of a proposal vote.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/tally

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>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response

Votes queries votes of a given proposal.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes

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>requiredpath

proposal_id defines the unique id of the proposal.

pagination.keystring<byte>query

key 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>query

offset 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>query

limit 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>query

count_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>query

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response

Vote queries voted information based on proposalID, voterAddr.

GET
https://axelar.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}

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>requiredpath

proposal_id defines the unique id of the proposal.

voterstringrequiredpath

voter defines the voter address for the proposals.

Response

200OK

A successful response.

default

An unexpected error response