@iconlake/client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.ts +170 -0
- package/cosmos.auth.v1beta1/index.ts +6 -0
- package/cosmos.auth.v1beta1/module.ts +102 -0
- package/cosmos.auth.v1beta1/registry.ts +7 -0
- package/cosmos.auth.v1beta1/rest.ts +641 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +95 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +1212 -0
- package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.auth.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.auth.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.auth.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.auth.v1beta1/types.ts +11 -0
- package/cosmos.authz.v1beta1/index.ts +6 -0
- package/cosmos.authz.v1beta1/module.ts +207 -0
- package/cosmos.authz.v1beta1/registry.ts +13 -0
- package/cosmos.authz.v1beta1/rest.ts +604 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.ts +325 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.ts +175 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.ts +78 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.ts +516 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +493 -0
- package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.authz.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.authz.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.authz.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.authz.v1beta1/types.ts +17 -0
- package/cosmos.bank.v1beta1/index.ts +6 -0
- package/cosmos.bank.v1beta1/module.ts +182 -0
- package/cosmos.bank.v1beta1/registry.ts +11 -0
- package/cosmos.bank.v1beta1/rest.ts +656 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +77 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +604 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +203 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +1366 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +289 -0
- package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.bank.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.bank.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.bank.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.bank.v1beta1/types.ts +25 -0
- package/cosmos.base.node.v1beta1/index.ts +6 -0
- package/cosmos.base.node.v1beta1/module.ts +96 -0
- package/cosmos.base.node.v1beta1/registry.ts +7 -0
- package/cosmos.base.node.v1beta1/rest.ts +170 -0
- package/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.ts +137 -0
- package/cosmos.base.node.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.base.node.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.base.node.v1beta1/types.ts +5 -0
- package/cosmos.base.tendermint.v1beta1/index.ts +6 -0
- package/cosmos.base.tendermint.v1beta1/module.ts +110 -0
- package/cosmos.base.tendermint.v1beta1/registry.ts +7 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +1147 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +1646 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.ts +442 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.ts +423 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.ts +112 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.ts +412 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.base.tendermint.v1beta1/types.ts +19 -0
- package/cosmos.crisis.v1beta1/index.ts +6 -0
- package/cosmos.crisis.v1beta1/module.ts +129 -0
- package/cosmos.crisis.v1beta1/registry.ts +9 -0
- package/cosmos.crisis.v1beta1/rest.ts +152 -0
- package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.ts +79 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +159 -0
- package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.crisis.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.crisis.v1beta1/types.ts +5 -0
- package/cosmos.distribution.v1beta1/index.ts +6 -0
- package/cosmos.distribution.v1beta1/module.ts +266 -0
- package/cosmos.distribution.v1beta1/registry.ts +15 -0
- package/cosmos.distribution.v1beta1/rest.ts +557 -0
- package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +945 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +849 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1289 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +550 -0
- package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.distribution.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.distribution.v1beta1/types.ts +43 -0
- package/cosmos.evidence.v1beta1/index.ts +6 -0
- package/cosmos.evidence.v1beta1/module.ts +131 -0
- package/cosmos.evidence.v1beta1/registry.ts +9 -0
- package/cosmos.evidence.v1beta1/rest.ts +402 -0
- package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +161 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.ts +73 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +343 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +213 -0
- package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.evidence.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.evidence.v1beta1/types.ts +7 -0
- package/cosmos.feegrant.v1beta1/index.ts +6 -0
- package/cosmos.feegrant.v1beta1/module.ts +170 -0
- package/cosmos.feegrant.v1beta1/registry.ts +11 -0
- package/cosmos.feegrant.v1beta1/rest.ts +452 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.ts +409 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.ts +76 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.ts +484 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.ts +294 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.feegrant.v1beta1/types.ts +13 -0
- package/cosmos.gov.v1/index.ts +6 -0
- package/cosmos.gov.v1/module.ts +244 -0
- package/cosmos.gov.v1/registry.ts +15 -0
- package/cosmos.gov.v1/rest.ts +798 -0
- package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +208 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +925 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +1202 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +763 -0
- package/cosmos.gov.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.gov.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.gov.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.gov.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.gov.v1/types/google/api/http.ts +589 -0
- package/cosmos.gov.v1/types/google/protobuf/any.ts +240 -0
- package/cosmos.gov.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.gov.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.gov.v1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.gov.v1/types.ts +21 -0
- package/cosmos.gov.v1beta1/index.ts +6 -0
- package/cosmos.gov.v1beta1/module.ts +246 -0
- package/cosmos.gov.v1beta1/registry.ts +15 -0
- package/cosmos.gov.v1beta1/rest.ts +864 -0
- package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +206 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +1015 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +1200 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +612 -0
- package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.gov.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.gov.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.gov.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.gov.v1beta1/types.ts +23 -0
- package/cosmos.group.v1/index.ts +6 -0
- package/cosmos.group.v1/module.ts +598 -0
- package/cosmos.group.v1/registry.ts +35 -0
- package/cosmos.group.v1/rest.ts +1162 -0
- package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +568 -0
- package/cosmos.group.v1/types/cosmos/group/v1/genesis.ts +228 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +1897 -0
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +2113 -0
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +1422 -0
- package/cosmos.group.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.group.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.group.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.group.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.group.v1/types/google/api/http.ts +589 -0
- package/cosmos.group.v1/types/google/protobuf/any.ts +240 -0
- package/cosmos.group.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.group.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.group.v1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.group.v1/types.ts +45 -0
- package/cosmos.mint.v1beta1/index.ts +6 -0
- package/cosmos.mint.v1beta1/module.ts +100 -0
- package/cosmos.mint.v1beta1/registry.ts +7 -0
- package/cosmos.mint.v1beta1/rest.ts +253 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +92 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +234 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.ts +412 -0
- package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.mint.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.mint.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.mint.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.mint.v1beta1/types.ts +9 -0
- package/cosmos.nft.v1beta1/index.ts +6 -0
- package/cosmos.nft.v1beta1/module.ts +108 -0
- package/cosmos.nft.v1beta1/registry.ts +7 -0
- package/cosmos.nft.v1beta1/rest.ts +685 -0
- package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +251 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +163 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.ts +240 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +964 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.ts +173 -0
- package/cosmos.nft.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.nft.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.nft.v1beta1/types.ts +17 -0
- package/cosmos.params.v1beta1/index.ts +6 -0
- package/cosmos.params.v1beta1/module.ts +102 -0
- package/cosmos.params.v1beta1/registry.ts +7 -0
- package/cosmos.params.v1beta1/rest.ts +220 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.ts +174 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.ts +364 -0
- package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.params.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.params.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.params.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.params.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.params.v1beta1/types.ts +11 -0
- package/cosmos.slashing.v1beta1/index.ts +6 -0
- package/cosmos.slashing.v1beta1/module.ts +139 -0
- package/cosmos.slashing.v1beta1/registry.ts +9 -0
- package/cosmos.slashing.v1beta1/rest.ts +368 -0
- package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +364 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.ts +411 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.ts +352 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +141 -0
- package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.slashing.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.slashing.v1beta1/types.ts +15 -0
- package/cosmos.staking.v1beta1/index.ts +6 -0
- package/cosmos.staking.v1beta1/module.ts +340 -0
- package/cosmos.staking.v1beta1/registry.ts +19 -0
- package/cosmos.staking.v1beta1/rest.ts +1239 -0
- package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.ts +245 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +322 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +2109 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +1829 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1005 -0
- package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.staking.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.staking.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.staking.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.staking.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.staking.v1beta1/types.ts +51 -0
- package/cosmos.tx.v1beta1/index.ts +6 -0
- package/cosmos.tx.v1beta1/module.ts +122 -0
- package/cosmos.tx.v1beta1/registry.ts +7 -0
- package/cosmos.tx.v1beta1/rest.ts +1372 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.ts +1040 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.ts +195 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.ts +556 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +1057 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.ts +1355 -0
- package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.tx.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.tx.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.tx.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +4154 -0
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/block.ts +112 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/evidence.ts +412 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +514 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.tx.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.tx.v1beta1/types.ts +31 -0
- package/cosmos.upgrade.v1beta1/index.ts +6 -0
- package/cosmos.upgrade.v1beta1/module.ts +170 -0
- package/cosmos.upgrade.v1beta1/registry.ts +11 -0
- package/cosmos.upgrade.v1beta1/rest.ts +468 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.ts +728 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +284 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.upgrade.v1beta1/types.ts +13 -0
- package/cosmos.vesting.v1beta1/index.ts +6 -0
- package/cosmos.vesting.v1beta1/module.ts +207 -0
- package/cosmos.vesting.v1beta1/registry.ts +13 -0
- package/cosmos.vesting.v1beta1/rest.ts +297 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
- package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +540 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +529 -0
- package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.vesting.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.vesting.v1beta1/types.ts +17 -0
- package/env.ts +7 -0
- package/helpers.ts +32 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +6 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +98 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +7 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +346 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +75 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.ts +274 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +361 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.ts +234 -0
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +7 -0
- package/ibc.applications.interchain_accounts.host.v1/index.ts +6 -0
- package/ibc.applications.interchain_accounts.host.v1/module.ts +98 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +7 -0
- package/ibc.applications.interchain_accounts.host.v1/rest.ts +183 -0
- package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.ts +92 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.ts +141 -0
- package/ibc.applications.interchain_accounts.host.v1/types.ts +7 -0
- package/ibc.applications.transfer.v1/index.ts +6 -0
- package/ibc.applications.transfer.v1/module.ts +133 -0
- package/ibc.applications.transfer.v1/registry.ts +9 -0
- package/ibc.applications.transfer.v1/rest.ts +544 -0
- package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.applications.transfer.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.transfer.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.transfer.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +100 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +659 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.ts +168 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.ts +287 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.applications.transfer.v1/types.ts +9 -0
- package/ibc.core.channel.v1/index.ts +6 -0
- package/ibc.core.channel.v1/module.ts +112 -0
- package/ibc.core.channel.v1/registry.ts +7 -0
- package/ibc.core.channel.v1/rest.ts +1375 -0
- package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.channel.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.channel.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.channel.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.channel.v1/types/google/api/http.ts +589 -0
- package/ibc.core.channel.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.channel.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.channel.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.ts +905 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.ts +301 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.ts +2472 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +1784 -0
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.channel.v1/types.ts +21 -0
- package/ibc.core.client.v1/index.ts +6 -0
- package/ibc.core.client.v1/module.ts +114 -0
- package/ibc.core.client.v1/registry.ts +7 -0
- package/ibc.core.client.v1/rest.ts +1084 -0
- package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.client.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.client.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.client.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.client.v1/types/google/api/http.ts +589 -0
- package/ibc.core.client.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.client.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.client.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.ts +357 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/query.ts +1390 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +691 -0
- package/ibc.core.client.v1/types.ts +23 -0
- package/ibc.core.connection.v1/index.ts +6 -0
- package/ibc.core.connection.v1/module.ts +110 -0
- package/ibc.core.connection.v1/registry.ts +7 -0
- package/ibc.core.connection.v1/rest.ts +889 -0
- package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.connection.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.connection.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.connection.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.connection.v1/types/google/api/http.ts +589 -0
- package/ibc.core.connection.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.connection.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.connection.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +299 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.ts +698 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.ts +152 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.ts +1041 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +908 -0
- package/ibc.core.connection.v1/types/proofs.ts +1408 -0
- package/ibc.core.connection.v1/types.ts +19 -0
- package/iconlake.icon/index.ts +6 -0
- package/iconlake.icon/module.ts +135 -0
- package/iconlake.icon/registry.ts +9 -0
- package/iconlake.icon/rest.ts +206 -0
- package/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.icon/types/gogoproto/gogo.ts +2 -0
- package/iconlake.icon/types/google/api/annotations.ts +2 -0
- package/iconlake.icon/types/google/api/http.ts +589 -0
- package/iconlake.icon/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.icon/types/iconlake/icon/genesis.ts +74 -0
- package/iconlake.icon/types/iconlake/icon/params.ts +58 -0
- package/iconlake.icon/types/iconlake/icon/query.ts +276 -0
- package/iconlake.icon/types/iconlake/icon/tx.ts +374 -0
- package/iconlake.icon/types.ts +11 -0
- package/iconlake.iconlake/index.ts +6 -0
- package/iconlake.iconlake/module.ts +133 -0
- package/iconlake.iconlake/registry.ts +9 -0
- package/iconlake.iconlake/rest.ts +342 -0
- package/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.iconlake/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/iconlake.iconlake/types/cosmos_proto/cosmos.ts +247 -0
- package/iconlake.iconlake/types/gogoproto/gogo.ts +2 -0
- package/iconlake.iconlake/types/google/api/annotations.ts +2 -0
- package/iconlake.iconlake/types/google/api/http.ts +589 -0
- package/iconlake.iconlake/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.iconlake/types/iconlake/iconlake/account.ts +140 -0
- package/iconlake.iconlake/types/iconlake/iconlake/genesis.ts +91 -0
- package/iconlake.iconlake/types/iconlake/iconlake/params.ts +58 -0
- package/iconlake.iconlake/types/iconlake/iconlake/query.ts +388 -0
- package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +214 -0
- package/iconlake.iconlake/types.ts +9 -0
- package/index.ts +75 -0
- package/modules.ts +5 -0
- package/package.json +35 -0
- package/tsconfig.json +12 -0
- package/types.d.ts +21 -0
|
@@ -0,0 +1,1147 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/*
|
|
4
|
+
* ---------------------------------------------------------------
|
|
5
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
6
|
+
* ## ##
|
|
7
|
+
* ## AUTHOR: acacode ##
|
|
8
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
9
|
+
* ---------------------------------------------------------------
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface CryptoPublicKey {
|
|
13
|
+
/** @format byte */
|
|
14
|
+
ed25519?: string;
|
|
15
|
+
|
|
16
|
+
/** @format byte */
|
|
17
|
+
secp256k1?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface P2PDefaultNodeInfo {
|
|
21
|
+
protocol_version?: P2PProtocolVersion;
|
|
22
|
+
default_node_id?: string;
|
|
23
|
+
listen_addr?: string;
|
|
24
|
+
network?: string;
|
|
25
|
+
version?: string;
|
|
26
|
+
|
|
27
|
+
/** @format byte */
|
|
28
|
+
channels?: string;
|
|
29
|
+
moniker?: string;
|
|
30
|
+
other?: P2PDefaultNodeInfoOther;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface P2PDefaultNodeInfoOther {
|
|
34
|
+
tx_index?: string;
|
|
35
|
+
rpc_address?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface P2PProtocolVersion {
|
|
39
|
+
/** @format uint64 */
|
|
40
|
+
p2p?: string;
|
|
41
|
+
|
|
42
|
+
/** @format uint64 */
|
|
43
|
+
block?: string;
|
|
44
|
+
|
|
45
|
+
/** @format uint64 */
|
|
46
|
+
app?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
51
|
+
URL that describes the type of the serialized message.
|
|
52
|
+
|
|
53
|
+
Protobuf library provides support to pack/unpack Any values in the form
|
|
54
|
+
of utility functions or additional generated methods of the Any type.
|
|
55
|
+
|
|
56
|
+
Example 1: Pack and unpack a message in C++.
|
|
57
|
+
|
|
58
|
+
Foo foo = ...;
|
|
59
|
+
Any any;
|
|
60
|
+
any.PackFrom(foo);
|
|
61
|
+
...
|
|
62
|
+
if (any.UnpackTo(&foo)) {
|
|
63
|
+
...
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
Example 2: Pack and unpack a message in Java.
|
|
67
|
+
|
|
68
|
+
Foo foo = ...;
|
|
69
|
+
Any any = Any.pack(foo);
|
|
70
|
+
...
|
|
71
|
+
if (any.is(Foo.class)) {
|
|
72
|
+
foo = any.unpack(Foo.class);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
Example 3: Pack and unpack a message in Python.
|
|
76
|
+
|
|
77
|
+
foo = Foo(...)
|
|
78
|
+
any = Any()
|
|
79
|
+
any.Pack(foo)
|
|
80
|
+
...
|
|
81
|
+
if any.Is(Foo.DESCRIPTOR):
|
|
82
|
+
any.Unpack(foo)
|
|
83
|
+
...
|
|
84
|
+
|
|
85
|
+
Example 4: Pack and unpack a message in Go
|
|
86
|
+
|
|
87
|
+
foo := &pb.Foo{...}
|
|
88
|
+
any, err := anypb.New(foo)
|
|
89
|
+
if err != nil {
|
|
90
|
+
...
|
|
91
|
+
}
|
|
92
|
+
...
|
|
93
|
+
foo := &pb.Foo{}
|
|
94
|
+
if err := any.UnmarshalTo(foo); err != nil {
|
|
95
|
+
...
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
The pack methods provided by protobuf library will by default use
|
|
99
|
+
'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
100
|
+
methods only use the fully qualified type name after the last '/'
|
|
101
|
+
in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
102
|
+
name "y.z".
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
JSON
|
|
106
|
+
====
|
|
107
|
+
The JSON representation of an `Any` value uses the regular
|
|
108
|
+
representation of the deserialized, embedded message, with an
|
|
109
|
+
additional field `@type` which contains the type URL. Example:
|
|
110
|
+
|
|
111
|
+
package google.profile;
|
|
112
|
+
message Person {
|
|
113
|
+
string first_name = 1;
|
|
114
|
+
string last_name = 2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
{
|
|
118
|
+
"@type": "type.googleapis.com/google.profile.Person",
|
|
119
|
+
"firstName": <string>,
|
|
120
|
+
"lastName": <string>
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
If the embedded message type is well-known and has a custom JSON
|
|
124
|
+
representation, that representation will be embedded adding a field
|
|
125
|
+
`value` which holds the custom JSON in addition to the `@type`
|
|
126
|
+
field. Example (for message [google.protobuf.Duration][]):
|
|
127
|
+
|
|
128
|
+
{
|
|
129
|
+
"@type": "type.googleapis.com/google.protobuf.Duration",
|
|
130
|
+
"value": "1.212s"
|
|
131
|
+
}
|
|
132
|
+
*/
|
|
133
|
+
export interface ProtobufAny {
|
|
134
|
+
/**
|
|
135
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
136
|
+
* protocol buffer message. This string must contain at least
|
|
137
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
138
|
+
* the fully qualified name of the type (as in
|
|
139
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
140
|
+
* (e.g., leading "." is not accepted).
|
|
141
|
+
*
|
|
142
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
143
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
144
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
145
|
+
* server that maps type URLs to message definitions as follows:
|
|
146
|
+
* * If no scheme is provided, `https` is assumed.
|
|
147
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
148
|
+
* value in binary format, or produce an error.
|
|
149
|
+
* * Applications are allowed to cache lookup results based on the
|
|
150
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
151
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
152
|
+
* on changes to types. (Use versioned type names to manage
|
|
153
|
+
* breaking changes.)
|
|
154
|
+
* Note: this functionality is not currently available in the official
|
|
155
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
156
|
+
* type.googleapis.com.
|
|
157
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
158
|
+
* used with implementation specific semantics.
|
|
159
|
+
*/
|
|
160
|
+
"@type"?: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface RpcStatus {
|
|
164
|
+
/** @format int32 */
|
|
165
|
+
code?: number;
|
|
166
|
+
message?: string;
|
|
167
|
+
details?: ProtobufAny[];
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface TenderminttypesBlock {
|
|
171
|
+
/** Header defines the structure of a Tendermint block header. */
|
|
172
|
+
header?: TenderminttypesHeader;
|
|
173
|
+
data?: TypesData;
|
|
174
|
+
evidence?: TypesEvidenceList;
|
|
175
|
+
|
|
176
|
+
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
177
|
+
last_commit?: TypesCommit;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Header defines the structure of a Tendermint block header.
|
|
182
|
+
*/
|
|
183
|
+
export interface TenderminttypesHeader {
|
|
184
|
+
/**
|
|
185
|
+
* basic block info
|
|
186
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
187
|
+
* including all blockchain data structures and the rules of the application's
|
|
188
|
+
* state transition machine.
|
|
189
|
+
*/
|
|
190
|
+
version?: VersionConsensus;
|
|
191
|
+
chain_id?: string;
|
|
192
|
+
|
|
193
|
+
/** @format int64 */
|
|
194
|
+
height?: string;
|
|
195
|
+
|
|
196
|
+
/** @format date-time */
|
|
197
|
+
time?: string;
|
|
198
|
+
|
|
199
|
+
/** prev block info */
|
|
200
|
+
last_block_id?: TypesBlockID;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* hashes of block data
|
|
204
|
+
* commit from validators from the last block
|
|
205
|
+
* @format byte
|
|
206
|
+
*/
|
|
207
|
+
last_commit_hash?: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* transactions
|
|
211
|
+
* @format byte
|
|
212
|
+
*/
|
|
213
|
+
data_hash?: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* hashes from the app output from the prev block
|
|
217
|
+
* validators for the current block
|
|
218
|
+
* @format byte
|
|
219
|
+
*/
|
|
220
|
+
validators_hash?: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* validators for the next block
|
|
224
|
+
* @format byte
|
|
225
|
+
*/
|
|
226
|
+
next_validators_hash?: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* consensus params for current block
|
|
230
|
+
* @format byte
|
|
231
|
+
*/
|
|
232
|
+
consensus_hash?: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* state after txs from the previous block
|
|
236
|
+
* @format byte
|
|
237
|
+
*/
|
|
238
|
+
app_hash?: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* root hash of all results from the txs from the previous block
|
|
242
|
+
* @format byte
|
|
243
|
+
*/
|
|
244
|
+
last_results_hash?: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* consensus info
|
|
248
|
+
* evidence included in the block
|
|
249
|
+
* @format byte
|
|
250
|
+
*/
|
|
251
|
+
evidence_hash?: string;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* original proposer of the block
|
|
255
|
+
* @format byte
|
|
256
|
+
*/
|
|
257
|
+
proposer_address?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface TenderminttypesValidator {
|
|
261
|
+
/** @format byte */
|
|
262
|
+
address?: string;
|
|
263
|
+
pub_key?: CryptoPublicKey;
|
|
264
|
+
|
|
265
|
+
/** @format int64 */
|
|
266
|
+
voting_power?: string;
|
|
267
|
+
|
|
268
|
+
/** @format int64 */
|
|
269
|
+
proposer_priority?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Block is tendermint type Block, with the Header proposer address
|
|
274
|
+
field converted to bech32 string.
|
|
275
|
+
*/
|
|
276
|
+
export interface Tendermintv1Beta1Block {
|
|
277
|
+
/** Header defines the structure of a Tendermint block header. */
|
|
278
|
+
header?: Tendermintv1Beta1Header;
|
|
279
|
+
data?: TypesData;
|
|
280
|
+
evidence?: TypesEvidenceList;
|
|
281
|
+
|
|
282
|
+
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
283
|
+
last_commit?: TypesCommit;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Header defines the structure of a Tendermint block header.
|
|
288
|
+
*/
|
|
289
|
+
export interface Tendermintv1Beta1Header {
|
|
290
|
+
/**
|
|
291
|
+
* basic block info
|
|
292
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
293
|
+
* including all blockchain data structures and the rules of the application's
|
|
294
|
+
* state transition machine.
|
|
295
|
+
*/
|
|
296
|
+
version?: VersionConsensus;
|
|
297
|
+
chain_id?: string;
|
|
298
|
+
|
|
299
|
+
/** @format int64 */
|
|
300
|
+
height?: string;
|
|
301
|
+
|
|
302
|
+
/** @format date-time */
|
|
303
|
+
time?: string;
|
|
304
|
+
|
|
305
|
+
/** prev block info */
|
|
306
|
+
last_block_id?: TypesBlockID;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* hashes of block data
|
|
310
|
+
* commit from validators from the last block
|
|
311
|
+
* @format byte
|
|
312
|
+
*/
|
|
313
|
+
last_commit_hash?: string;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* transactions
|
|
317
|
+
* @format byte
|
|
318
|
+
*/
|
|
319
|
+
data_hash?: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* hashes from the app output from the prev block
|
|
323
|
+
* validators for the current block
|
|
324
|
+
* @format byte
|
|
325
|
+
*/
|
|
326
|
+
validators_hash?: string;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* validators for the next block
|
|
330
|
+
* @format byte
|
|
331
|
+
*/
|
|
332
|
+
next_validators_hash?: string;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* consensus params for current block
|
|
336
|
+
* @format byte
|
|
337
|
+
*/
|
|
338
|
+
consensus_hash?: string;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* state after txs from the previous block
|
|
342
|
+
* @format byte
|
|
343
|
+
*/
|
|
344
|
+
app_hash?: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* root hash of all results from the txs from the previous block
|
|
348
|
+
* @format byte
|
|
349
|
+
*/
|
|
350
|
+
last_results_hash?: string;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* consensus info
|
|
354
|
+
* evidence included in the block
|
|
355
|
+
* @format byte
|
|
356
|
+
*/
|
|
357
|
+
evidence_hash?: string;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* proposer_address is the original block proposer address, formatted as a Bech32 string.
|
|
361
|
+
* In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string
|
|
362
|
+
* for better UX.
|
|
363
|
+
*
|
|
364
|
+
* original proposer of the block
|
|
365
|
+
*/
|
|
366
|
+
proposer_address?: string;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* ProofOp defines an operation used for calculating Merkle root. The data could
|
|
371
|
+
be arbitrary format, providing nessecary data for example neighbouring node
|
|
372
|
+
hash.
|
|
373
|
+
|
|
374
|
+
Note: This type is a duplicate of the ProofOp proto type defined in
|
|
375
|
+
Tendermint.
|
|
376
|
+
*/
|
|
377
|
+
export interface Tendermintv1Beta1ProofOp {
|
|
378
|
+
type?: string;
|
|
379
|
+
|
|
380
|
+
/** @format byte */
|
|
381
|
+
key?: string;
|
|
382
|
+
|
|
383
|
+
/** @format byte */
|
|
384
|
+
data?: string;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* ProofOps is Merkle proof defined by the list of ProofOps.
|
|
389
|
+
|
|
390
|
+
Note: This type is a duplicate of the ProofOps proto type defined in
|
|
391
|
+
Tendermint.
|
|
392
|
+
*/
|
|
393
|
+
export interface Tendermintv1Beta1ProofOps {
|
|
394
|
+
ops?: Tendermintv1Beta1ProofOp[];
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Validator is the type for the validator-set.
|
|
399
|
+
*/
|
|
400
|
+
export interface Tendermintv1Beta1Validator {
|
|
401
|
+
address?: string;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
405
|
+
* URL that describes the type of the serialized message.
|
|
406
|
+
*
|
|
407
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
408
|
+
* of utility functions or additional generated methods of the Any type.
|
|
409
|
+
* Example 1: Pack and unpack a message in C++.
|
|
410
|
+
* Foo foo = ...;
|
|
411
|
+
* Any any;
|
|
412
|
+
* any.PackFrom(foo);
|
|
413
|
+
* ...
|
|
414
|
+
* if (any.UnpackTo(&foo)) {
|
|
415
|
+
* ...
|
|
416
|
+
* }
|
|
417
|
+
* Example 2: Pack and unpack a message in Java.
|
|
418
|
+
* Any any = Any.pack(foo);
|
|
419
|
+
* if (any.is(Foo.class)) {
|
|
420
|
+
* foo = any.unpack(Foo.class);
|
|
421
|
+
* Example 3: Pack and unpack a message in Python.
|
|
422
|
+
* foo = Foo(...)
|
|
423
|
+
* any = Any()
|
|
424
|
+
* any.Pack(foo)
|
|
425
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
426
|
+
* any.Unpack(foo)
|
|
427
|
+
* Example 4: Pack and unpack a message in Go
|
|
428
|
+
* foo := &pb.Foo{...}
|
|
429
|
+
* any, err := anypb.New(foo)
|
|
430
|
+
* if err != nil {
|
|
431
|
+
* ...
|
|
432
|
+
* }
|
|
433
|
+
* ...
|
|
434
|
+
* foo := &pb.Foo{}
|
|
435
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
436
|
+
* The pack methods provided by protobuf library will by default use
|
|
437
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
438
|
+
* methods only use the fully qualified type name after the last '/'
|
|
439
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
440
|
+
* name "y.z".
|
|
441
|
+
* JSON
|
|
442
|
+
* ====
|
|
443
|
+
* The JSON representation of an `Any` value uses the regular
|
|
444
|
+
* representation of the deserialized, embedded message, with an
|
|
445
|
+
* additional field `@type` which contains the type URL. Example:
|
|
446
|
+
* package google.profile;
|
|
447
|
+
* message Person {
|
|
448
|
+
* string first_name = 1;
|
|
449
|
+
* string last_name = 2;
|
|
450
|
+
* {
|
|
451
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
452
|
+
* "firstName": <string>,
|
|
453
|
+
* "lastName": <string>
|
|
454
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
455
|
+
* representation, that representation will be embedded adding a field
|
|
456
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
457
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
458
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
459
|
+
* "value": "1.212s"
|
|
460
|
+
*/
|
|
461
|
+
pub_key?: ProtobufAny;
|
|
462
|
+
|
|
463
|
+
/** @format int64 */
|
|
464
|
+
voting_power?: string;
|
|
465
|
+
|
|
466
|
+
/** @format int64 */
|
|
467
|
+
proposer_priority?: string;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export interface TypesBlockID {
|
|
471
|
+
/** @format byte */
|
|
472
|
+
hash?: string;
|
|
473
|
+
part_set_header?: TypesPartSetHeader;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export enum TypesBlockIDFlag {
|
|
477
|
+
BLOCK_ID_FLAG_UNKNOWN = "BLOCK_ID_FLAG_UNKNOWN",
|
|
478
|
+
BLOCK_ID_FLAG_ABSENT = "BLOCK_ID_FLAG_ABSENT",
|
|
479
|
+
BLOCK_ID_FLAG_COMMIT = "BLOCK_ID_FLAG_COMMIT",
|
|
480
|
+
BLOCK_ID_FLAG_NIL = "BLOCK_ID_FLAG_NIL",
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Commit contains the evidence that a block was committed by a set of validators.
|
|
485
|
+
*/
|
|
486
|
+
export interface TypesCommit {
|
|
487
|
+
/** @format int64 */
|
|
488
|
+
height?: string;
|
|
489
|
+
|
|
490
|
+
/** @format int32 */
|
|
491
|
+
round?: number;
|
|
492
|
+
block_id?: TypesBlockID;
|
|
493
|
+
signatures?: TypesCommitSig[];
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* CommitSig is a part of the Vote included in a Commit.
|
|
498
|
+
*/
|
|
499
|
+
export interface TypesCommitSig {
|
|
500
|
+
block_id_flag?: TypesBlockIDFlag;
|
|
501
|
+
|
|
502
|
+
/** @format byte */
|
|
503
|
+
validator_address?: string;
|
|
504
|
+
|
|
505
|
+
/** @format date-time */
|
|
506
|
+
timestamp?: string;
|
|
507
|
+
|
|
508
|
+
/** @format byte */
|
|
509
|
+
signature?: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface TypesData {
|
|
513
|
+
/**
|
|
514
|
+
* Txs that will be applied by state @ block.Height+1.
|
|
515
|
+
* NOTE: not all txs here are valid. We're just agreeing on the order first.
|
|
516
|
+
* This means that block.AppHash does not include these txs.
|
|
517
|
+
*/
|
|
518
|
+
txs?: string[];
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.
|
|
523
|
+
*/
|
|
524
|
+
export interface TypesDuplicateVoteEvidence {
|
|
525
|
+
/**
|
|
526
|
+
* Vote represents a prevote, precommit, or commit vote from validators for
|
|
527
|
+
* consensus.
|
|
528
|
+
*/
|
|
529
|
+
vote_a?: TypesVote;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Vote represents a prevote, precommit, or commit vote from validators for
|
|
533
|
+
* consensus.
|
|
534
|
+
*/
|
|
535
|
+
vote_b?: TypesVote;
|
|
536
|
+
|
|
537
|
+
/** @format int64 */
|
|
538
|
+
total_voting_power?: string;
|
|
539
|
+
|
|
540
|
+
/** @format int64 */
|
|
541
|
+
validator_power?: string;
|
|
542
|
+
|
|
543
|
+
/** @format date-time */
|
|
544
|
+
timestamp?: string;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export interface TypesEvidence {
|
|
548
|
+
/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */
|
|
549
|
+
duplicate_vote_evidence?: TypesDuplicateVoteEvidence;
|
|
550
|
+
|
|
551
|
+
/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */
|
|
552
|
+
light_client_attack_evidence?: TypesLightClientAttackEvidence;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export interface TypesEvidenceList {
|
|
556
|
+
evidence?: TypesEvidence[];
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export interface TypesLightBlock {
|
|
560
|
+
signed_header?: TypesSignedHeader;
|
|
561
|
+
validator_set?: TypesValidatorSet;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.
|
|
566
|
+
*/
|
|
567
|
+
export interface TypesLightClientAttackEvidence {
|
|
568
|
+
conflicting_block?: TypesLightBlock;
|
|
569
|
+
|
|
570
|
+
/** @format int64 */
|
|
571
|
+
common_height?: string;
|
|
572
|
+
byzantine_validators?: TenderminttypesValidator[];
|
|
573
|
+
|
|
574
|
+
/** @format int64 */
|
|
575
|
+
total_voting_power?: string;
|
|
576
|
+
|
|
577
|
+
/** @format date-time */
|
|
578
|
+
timestamp?: string;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export interface TypesPartSetHeader {
|
|
582
|
+
/** @format int64 */
|
|
583
|
+
total?: number;
|
|
584
|
+
|
|
585
|
+
/** @format byte */
|
|
586
|
+
hash?: string;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface TypesSignedHeader {
|
|
590
|
+
/** Header defines the structure of a Tendermint block header. */
|
|
591
|
+
header?: TenderminttypesHeader;
|
|
592
|
+
|
|
593
|
+
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
594
|
+
commit?: TypesCommit;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* SignedMsgType is a type of signed message in the consensus.
|
|
599
|
+
|
|
600
|
+
- SIGNED_MSG_TYPE_PREVOTE: Votes
|
|
601
|
+
- SIGNED_MSG_TYPE_PROPOSAL: Proposals
|
|
602
|
+
*/
|
|
603
|
+
export enum TypesSignedMsgType {
|
|
604
|
+
SIGNED_MSG_TYPE_UNKNOWN = "SIGNED_MSG_TYPE_UNKNOWN",
|
|
605
|
+
SIGNED_MSG_TYPE_PREVOTE = "SIGNED_MSG_TYPE_PREVOTE",
|
|
606
|
+
SIGNED_MSG_TYPE_PRECOMMIT = "SIGNED_MSG_TYPE_PRECOMMIT",
|
|
607
|
+
SIGNED_MSG_TYPE_PROPOSAL = "SIGNED_MSG_TYPE_PROPOSAL",
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export interface TypesValidatorSet {
|
|
611
|
+
validators?: TenderminttypesValidator[];
|
|
612
|
+
proposer?: TenderminttypesValidator;
|
|
613
|
+
|
|
614
|
+
/** @format int64 */
|
|
615
|
+
total_voting_power?: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Vote represents a prevote, precommit, or commit vote from validators for
|
|
620
|
+
consensus.
|
|
621
|
+
*/
|
|
622
|
+
export interface TypesVote {
|
|
623
|
+
/**
|
|
624
|
+
* SignedMsgType is a type of signed message in the consensus.
|
|
625
|
+
*
|
|
626
|
+
* - SIGNED_MSG_TYPE_PREVOTE: Votes
|
|
627
|
+
* - SIGNED_MSG_TYPE_PROPOSAL: Proposals
|
|
628
|
+
*/
|
|
629
|
+
type?: TypesSignedMsgType;
|
|
630
|
+
|
|
631
|
+
/** @format int64 */
|
|
632
|
+
height?: string;
|
|
633
|
+
|
|
634
|
+
/** @format int32 */
|
|
635
|
+
round?: number;
|
|
636
|
+
|
|
637
|
+
/** zero if vote is nil. */
|
|
638
|
+
block_id?: TypesBlockID;
|
|
639
|
+
|
|
640
|
+
/** @format date-time */
|
|
641
|
+
timestamp?: string;
|
|
642
|
+
|
|
643
|
+
/** @format byte */
|
|
644
|
+
validator_address?: string;
|
|
645
|
+
|
|
646
|
+
/** @format int32 */
|
|
647
|
+
validator_index?: number;
|
|
648
|
+
|
|
649
|
+
/** @format byte */
|
|
650
|
+
signature?: string;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* ABCIQueryResponse defines the response structure for the ABCIQuery gRPC
|
|
655
|
+
query.
|
|
656
|
+
|
|
657
|
+
Note: This type is a duplicate of the ResponseQuery proto type defined in
|
|
658
|
+
Tendermint.
|
|
659
|
+
*/
|
|
660
|
+
export interface V1Beta1ABCIQueryResponse {
|
|
661
|
+
/** @format int64 */
|
|
662
|
+
code?: number;
|
|
663
|
+
|
|
664
|
+
/** nondeterministic */
|
|
665
|
+
log?: string;
|
|
666
|
+
|
|
667
|
+
/** nondeterministic */
|
|
668
|
+
info?: string;
|
|
669
|
+
|
|
670
|
+
/** @format int64 */
|
|
671
|
+
index?: string;
|
|
672
|
+
|
|
673
|
+
/** @format byte */
|
|
674
|
+
key?: string;
|
|
675
|
+
|
|
676
|
+
/** @format byte */
|
|
677
|
+
value?: string;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* ProofOps is Merkle proof defined by the list of ProofOps.
|
|
681
|
+
*
|
|
682
|
+
* Note: This type is a duplicate of the ProofOps proto type defined in
|
|
683
|
+
* Tendermint.
|
|
684
|
+
*/
|
|
685
|
+
proof_ops?: Tendermintv1Beta1ProofOps;
|
|
686
|
+
|
|
687
|
+
/** @format int64 */
|
|
688
|
+
height?: string;
|
|
689
|
+
codespace?: string;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight
|
|
694
|
+
RPC method.
|
|
695
|
+
*/
|
|
696
|
+
export interface V1Beta1GetBlockByHeightResponse {
|
|
697
|
+
block_id?: TypesBlockID;
|
|
698
|
+
|
|
699
|
+
/** Deprecated: please use `sdk_block` instead */
|
|
700
|
+
block?: TenderminttypesBlock;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Since: cosmos-sdk 0.47
|
|
704
|
+
* Block is tendermint type Block, with the Header proposer address
|
|
705
|
+
* field converted to bech32 string.
|
|
706
|
+
*/
|
|
707
|
+
sdk_block?: Tendermintv1Beta1Block;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC
|
|
712
|
+
method.
|
|
713
|
+
*/
|
|
714
|
+
export interface V1Beta1GetLatestBlockResponse {
|
|
715
|
+
block_id?: TypesBlockID;
|
|
716
|
+
|
|
717
|
+
/** Deprecated: please use `sdk_block` instead */
|
|
718
|
+
block?: TenderminttypesBlock;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Since: cosmos-sdk 0.47
|
|
722
|
+
* Block is tendermint type Block, with the Header proposer address
|
|
723
|
+
* field converted to bech32 string.
|
|
724
|
+
*/
|
|
725
|
+
sdk_block?: Tendermintv1Beta1Block;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* GetLatestValidatorSetResponse is the response type for the
|
|
730
|
+
Query/GetValidatorSetByHeight RPC method.
|
|
731
|
+
*/
|
|
732
|
+
export interface V1Beta1GetLatestValidatorSetResponse {
|
|
733
|
+
/** @format int64 */
|
|
734
|
+
block_height?: string;
|
|
735
|
+
validators?: Tendermintv1Beta1Validator[];
|
|
736
|
+
|
|
737
|
+
/** pagination defines an pagination for the response. */
|
|
738
|
+
pagination?: V1Beta1PageResponse;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC
|
|
743
|
+
method.
|
|
744
|
+
*/
|
|
745
|
+
export interface V1Beta1GetNodeInfoResponse {
|
|
746
|
+
default_node_info?: P2PDefaultNodeInfo;
|
|
747
|
+
|
|
748
|
+
/** VersionInfo is the type for the GetNodeInfoResponse message. */
|
|
749
|
+
application_version?: V1Beta1VersionInfo;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* GetSyncingResponse is the response type for the Query/GetSyncing RPC method.
|
|
754
|
+
*/
|
|
755
|
+
export interface V1Beta1GetSyncingResponse {
|
|
756
|
+
syncing?: boolean;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* GetValidatorSetByHeightResponse is the response type for the
|
|
761
|
+
Query/GetValidatorSetByHeight RPC method.
|
|
762
|
+
*/
|
|
763
|
+
export interface V1Beta1GetValidatorSetByHeightResponse {
|
|
764
|
+
/** @format int64 */
|
|
765
|
+
block_height?: string;
|
|
766
|
+
validators?: Tendermintv1Beta1Validator[];
|
|
767
|
+
|
|
768
|
+
/** pagination defines an pagination for the response. */
|
|
769
|
+
pagination?: V1Beta1PageResponse;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export interface V1Beta1Module {
|
|
773
|
+
/** module path */
|
|
774
|
+
path?: string;
|
|
775
|
+
|
|
776
|
+
/** module version */
|
|
777
|
+
version?: string;
|
|
778
|
+
|
|
779
|
+
/** checksum */
|
|
780
|
+
sum?: string;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* message SomeRequest {
|
|
785
|
+
Foo some_parameter = 1;
|
|
786
|
+
PageRequest pagination = 2;
|
|
787
|
+
}
|
|
788
|
+
*/
|
|
789
|
+
export interface V1Beta1PageRequest {
|
|
790
|
+
/**
|
|
791
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
792
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
793
|
+
* should be set.
|
|
794
|
+
* @format byte
|
|
795
|
+
*/
|
|
796
|
+
key?: string;
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
800
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
801
|
+
* be set.
|
|
802
|
+
* @format uint64
|
|
803
|
+
*/
|
|
804
|
+
offset?: string;
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* limit is the total number of results to be returned in the result page.
|
|
808
|
+
* If left empty it will default to a value to be set by each app.
|
|
809
|
+
* @format uint64
|
|
810
|
+
*/
|
|
811
|
+
limit?: string;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* count_total is set to true to indicate that the result set should include
|
|
815
|
+
* a count of the total number of items available for pagination in UIs.
|
|
816
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
817
|
+
* is set.
|
|
818
|
+
*/
|
|
819
|
+
count_total?: boolean;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
823
|
+
*
|
|
824
|
+
* Since: cosmos-sdk 0.43
|
|
825
|
+
*/
|
|
826
|
+
reverse?: boolean;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
831
|
+
corresponding request message has used PageRequest.
|
|
832
|
+
|
|
833
|
+
message SomeResponse {
|
|
834
|
+
repeated Bar results = 1;
|
|
835
|
+
PageResponse page = 2;
|
|
836
|
+
}
|
|
837
|
+
*/
|
|
838
|
+
export interface V1Beta1PageResponse {
|
|
839
|
+
/**
|
|
840
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
841
|
+
* query the next page most efficiently. It will be empty if
|
|
842
|
+
* there are no more results.
|
|
843
|
+
* @format byte
|
|
844
|
+
*/
|
|
845
|
+
next_key?: string;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* total is total number of results available if PageRequest.count_total
|
|
849
|
+
* was set, its value is undefined otherwise
|
|
850
|
+
* @format uint64
|
|
851
|
+
*/
|
|
852
|
+
total?: string;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* VersionInfo is the type for the GetNodeInfoResponse message.
|
|
857
|
+
*/
|
|
858
|
+
export interface V1Beta1VersionInfo {
|
|
859
|
+
name?: string;
|
|
860
|
+
app_name?: string;
|
|
861
|
+
version?: string;
|
|
862
|
+
git_commit?: string;
|
|
863
|
+
build_tags?: string;
|
|
864
|
+
go_version?: string;
|
|
865
|
+
build_deps?: V1Beta1Module[];
|
|
866
|
+
|
|
867
|
+
/** Since: cosmos-sdk 0.43 */
|
|
868
|
+
cosmos_sdk_version?: string;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
873
|
+
including all blockchain data structures and the rules of the application's
|
|
874
|
+
state transition machine.
|
|
875
|
+
*/
|
|
876
|
+
export interface VersionConsensus {
|
|
877
|
+
/** @format uint64 */
|
|
878
|
+
block?: string;
|
|
879
|
+
|
|
880
|
+
/** @format uint64 */
|
|
881
|
+
app?: string;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
885
|
+
|
|
886
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
887
|
+
|
|
888
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
889
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
890
|
+
secure?: boolean;
|
|
891
|
+
/** request path */
|
|
892
|
+
path: string;
|
|
893
|
+
/** content type of request body */
|
|
894
|
+
type?: ContentType;
|
|
895
|
+
/** query params */
|
|
896
|
+
query?: QueryParamsType;
|
|
897
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
898
|
+
format?: ResponseType;
|
|
899
|
+
/** request body */
|
|
900
|
+
body?: unknown;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
904
|
+
|
|
905
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
906
|
+
securityWorker?: (
|
|
907
|
+
securityData: SecurityDataType | null,
|
|
908
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
909
|
+
secure?: boolean;
|
|
910
|
+
format?: ResponseType;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export enum ContentType {
|
|
914
|
+
Json = "application/json",
|
|
915
|
+
FormData = "multipart/form-data",
|
|
916
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
920
|
+
public instance: AxiosInstance;
|
|
921
|
+
private securityData: SecurityDataType | null = null;
|
|
922
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
923
|
+
private secure?: boolean;
|
|
924
|
+
private format?: ResponseType;
|
|
925
|
+
|
|
926
|
+
constructor({ securityWorker, secure, format, ...axiosConfig }: ApiConfig<SecurityDataType> = {}) {
|
|
927
|
+
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
928
|
+
this.secure = secure;
|
|
929
|
+
this.format = format;
|
|
930
|
+
this.securityWorker = securityWorker;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
934
|
+
this.securityData = data;
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
private mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig {
|
|
938
|
+
return {
|
|
939
|
+
...this.instance.defaults,
|
|
940
|
+
...params1,
|
|
941
|
+
...(params2 || {}),
|
|
942
|
+
headers: {
|
|
943
|
+
...(this.instance.defaults.headers || {}),
|
|
944
|
+
...(params1.headers || {}),
|
|
945
|
+
...((params2 && params2.headers) || {}),
|
|
946
|
+
},
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
private createFormData(input: Record<string, unknown>): FormData {
|
|
951
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
952
|
+
const property = input[key];
|
|
953
|
+
formData.append(
|
|
954
|
+
key,
|
|
955
|
+
property instanceof Blob
|
|
956
|
+
? property
|
|
957
|
+
: typeof property === "object" && property !== null
|
|
958
|
+
? JSON.stringify(property)
|
|
959
|
+
: `${property}`,
|
|
960
|
+
);
|
|
961
|
+
return formData;
|
|
962
|
+
}, new FormData());
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
public request = async <T = any, _E = any>({
|
|
966
|
+
secure,
|
|
967
|
+
path,
|
|
968
|
+
type,
|
|
969
|
+
query,
|
|
970
|
+
format,
|
|
971
|
+
body,
|
|
972
|
+
...params
|
|
973
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
974
|
+
const secureParams =
|
|
975
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
976
|
+
this.securityWorker &&
|
|
977
|
+
(await this.securityWorker(this.securityData))) ||
|
|
978
|
+
{};
|
|
979
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
980
|
+
const responseFormat = (format && this.format) || void 0;
|
|
981
|
+
|
|
982
|
+
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
983
|
+
requestParams.headers.common = { Accept: "*/*" };
|
|
984
|
+
requestParams.headers.post = {};
|
|
985
|
+
requestParams.headers.put = {};
|
|
986
|
+
|
|
987
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
return this.instance.request({
|
|
991
|
+
...requestParams,
|
|
992
|
+
headers: {
|
|
993
|
+
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
994
|
+
...(requestParams.headers || {}),
|
|
995
|
+
},
|
|
996
|
+
params: query,
|
|
997
|
+
responseType: responseFormat,
|
|
998
|
+
data: body,
|
|
999
|
+
url: path,
|
|
1000
|
+
});
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* @title cosmos/base/tendermint/v1beta1/query.proto
|
|
1006
|
+
* @version version not set
|
|
1007
|
+
*/
|
|
1008
|
+
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
1009
|
+
/**
|
|
1010
|
+
* @description Since: cosmos-sdk 0.46
|
|
1011
|
+
*
|
|
1012
|
+
* @tags Service
|
|
1013
|
+
* @name ServiceAbciQuery
|
|
1014
|
+
* @summary ABCIQuery defines a query handler that supports ABCI queries directly to
|
|
1015
|
+
the application, bypassing Tendermint completely. The ABCI query must
|
|
1016
|
+
contain a valid and supported path, including app, custom, p2p, and store.
|
|
1017
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/abci_query
|
|
1018
|
+
*/
|
|
1019
|
+
serviceABCIQuery = (
|
|
1020
|
+
query?: { data?: string; path?: string; height?: string; prove?: boolean },
|
|
1021
|
+
params: RequestParams = {},
|
|
1022
|
+
) =>
|
|
1023
|
+
this.request<V1Beta1ABCIQueryResponse, RpcStatus>({
|
|
1024
|
+
path: `/cosmos/base/tendermint/v1beta1/abci_query`,
|
|
1025
|
+
method: "GET",
|
|
1026
|
+
query: query,
|
|
1027
|
+
format: "json",
|
|
1028
|
+
...params,
|
|
1029
|
+
});
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* No description
|
|
1033
|
+
*
|
|
1034
|
+
* @tags Service
|
|
1035
|
+
* @name ServiceGetLatestBlock
|
|
1036
|
+
* @summary GetLatestBlock returns the latest block.
|
|
1037
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/blocks/latest
|
|
1038
|
+
*/
|
|
1039
|
+
serviceGetLatestBlock = (params: RequestParams = {}) =>
|
|
1040
|
+
this.request<V1Beta1GetLatestBlockResponse, RpcStatus>({
|
|
1041
|
+
path: `/cosmos/base/tendermint/v1beta1/blocks/latest`,
|
|
1042
|
+
method: "GET",
|
|
1043
|
+
format: "json",
|
|
1044
|
+
...params,
|
|
1045
|
+
});
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* No description
|
|
1049
|
+
*
|
|
1050
|
+
* @tags Service
|
|
1051
|
+
* @name ServiceGetBlockByHeight
|
|
1052
|
+
* @summary GetBlockByHeight queries block for given height.
|
|
1053
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/blocks/{height}
|
|
1054
|
+
*/
|
|
1055
|
+
serviceGetBlockByHeight = (height: string, params: RequestParams = {}) =>
|
|
1056
|
+
this.request<V1Beta1GetBlockByHeightResponse, RpcStatus>({
|
|
1057
|
+
path: `/cosmos/base/tendermint/v1beta1/blocks/${height}`,
|
|
1058
|
+
method: "GET",
|
|
1059
|
+
format: "json",
|
|
1060
|
+
...params,
|
|
1061
|
+
});
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* No description
|
|
1065
|
+
*
|
|
1066
|
+
* @tags Service
|
|
1067
|
+
* @name ServiceGetNodeInfo
|
|
1068
|
+
* @summary GetNodeInfo queries the current node info.
|
|
1069
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/node_info
|
|
1070
|
+
*/
|
|
1071
|
+
serviceGetNodeInfo = (params: RequestParams = {}) =>
|
|
1072
|
+
this.request<V1Beta1GetNodeInfoResponse, RpcStatus>({
|
|
1073
|
+
path: `/cosmos/base/tendermint/v1beta1/node_info`,
|
|
1074
|
+
method: "GET",
|
|
1075
|
+
format: "json",
|
|
1076
|
+
...params,
|
|
1077
|
+
});
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* No description
|
|
1081
|
+
*
|
|
1082
|
+
* @tags Service
|
|
1083
|
+
* @name ServiceGetSyncing
|
|
1084
|
+
* @summary GetSyncing queries node syncing.
|
|
1085
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/syncing
|
|
1086
|
+
*/
|
|
1087
|
+
serviceGetSyncing = (params: RequestParams = {}) =>
|
|
1088
|
+
this.request<V1Beta1GetSyncingResponse, RpcStatus>({
|
|
1089
|
+
path: `/cosmos/base/tendermint/v1beta1/syncing`,
|
|
1090
|
+
method: "GET",
|
|
1091
|
+
format: "json",
|
|
1092
|
+
...params,
|
|
1093
|
+
});
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* No description
|
|
1097
|
+
*
|
|
1098
|
+
* @tags Service
|
|
1099
|
+
* @name ServiceGetLatestValidatorSet
|
|
1100
|
+
* @summary GetLatestValidatorSet queries latest validator-set.
|
|
1101
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/validatorsets/latest
|
|
1102
|
+
*/
|
|
1103
|
+
serviceGetLatestValidatorSet = (
|
|
1104
|
+
query?: {
|
|
1105
|
+
"pagination.key"?: string;
|
|
1106
|
+
"pagination.offset"?: string;
|
|
1107
|
+
"pagination.limit"?: string;
|
|
1108
|
+
"pagination.count_total"?: boolean;
|
|
1109
|
+
"pagination.reverse"?: boolean;
|
|
1110
|
+
},
|
|
1111
|
+
params: RequestParams = {},
|
|
1112
|
+
) =>
|
|
1113
|
+
this.request<V1Beta1GetLatestValidatorSetResponse, RpcStatus>({
|
|
1114
|
+
path: `/cosmos/base/tendermint/v1beta1/validatorsets/latest`,
|
|
1115
|
+
method: "GET",
|
|
1116
|
+
query: query,
|
|
1117
|
+
format: "json",
|
|
1118
|
+
...params,
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* No description
|
|
1123
|
+
*
|
|
1124
|
+
* @tags Service
|
|
1125
|
+
* @name ServiceGetValidatorSetByHeight
|
|
1126
|
+
* @summary GetValidatorSetByHeight queries validator-set at a given height.
|
|
1127
|
+
* @request GET:/cosmos/base/tendermint/v1beta1/validatorsets/{height}
|
|
1128
|
+
*/
|
|
1129
|
+
serviceGetValidatorSetByHeight = (
|
|
1130
|
+
height: string,
|
|
1131
|
+
query?: {
|
|
1132
|
+
"pagination.key"?: string;
|
|
1133
|
+
"pagination.offset"?: string;
|
|
1134
|
+
"pagination.limit"?: string;
|
|
1135
|
+
"pagination.count_total"?: boolean;
|
|
1136
|
+
"pagination.reverse"?: boolean;
|
|
1137
|
+
},
|
|
1138
|
+
params: RequestParams = {},
|
|
1139
|
+
) =>
|
|
1140
|
+
this.request<V1Beta1GetValidatorSetByHeightResponse, RpcStatus>({
|
|
1141
|
+
path: `/cosmos/base/tendermint/v1beta1/validatorsets/${height}`,
|
|
1142
|
+
method: "GET",
|
|
1143
|
+
query: query,
|
|
1144
|
+
format: "json",
|
|
1145
|
+
...params,
|
|
1146
|
+
});
|
|
1147
|
+
}
|