@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,656 @@
|
|
|
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 ProtobufAny {
|
|
13
|
+
"@type"?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface RpcStatus {
|
|
17
|
+
/** @format int32 */
|
|
18
|
+
code?: number;
|
|
19
|
+
message?: string;
|
|
20
|
+
details?: ProtobufAny[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Coin defines a token with a denomination and an amount.
|
|
25
|
+
|
|
26
|
+
NOTE: The amount field is an Int which implements the custom method
|
|
27
|
+
signatures required by gogoproto.
|
|
28
|
+
*/
|
|
29
|
+
export interface V1Beta1Coin {
|
|
30
|
+
denom?: string;
|
|
31
|
+
amount?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* DenomOwner defines structure representing an account that owns or holds a
|
|
36
|
+
particular denominated token. It contains the account address and account
|
|
37
|
+
balance of the denominated token.
|
|
38
|
+
|
|
39
|
+
Since: cosmos-sdk 0.46
|
|
40
|
+
*/
|
|
41
|
+
export interface V1Beta1DenomOwner {
|
|
42
|
+
/** address defines the address that owns a particular denomination. */
|
|
43
|
+
address?: string;
|
|
44
|
+
|
|
45
|
+
/** balance is the balance of the denominated coin for an account. */
|
|
46
|
+
balance?: V1Beta1Coin;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* DenomUnit represents a struct that describes a given
|
|
51
|
+
denomination unit of the basic token.
|
|
52
|
+
*/
|
|
53
|
+
export interface V1Beta1DenomUnit {
|
|
54
|
+
/** denom represents the string name of the given denom unit (e.g uatom). */
|
|
55
|
+
denom?: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* exponent represents power of 10 exponent that one must
|
|
59
|
+
* raise the base_denom to in order to equal the given DenomUnit's denom
|
|
60
|
+
* 1 denom = 10^exponent base_denom
|
|
61
|
+
* (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
|
|
62
|
+
* exponent = 6, thus: 1 atom = 10^6 uatom).
|
|
63
|
+
* @format int64
|
|
64
|
+
*/
|
|
65
|
+
exponent?: number;
|
|
66
|
+
|
|
67
|
+
/** aliases is a list of string aliases for the given denom */
|
|
68
|
+
aliases?: string[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Input models transaction input.
|
|
73
|
+
*/
|
|
74
|
+
export interface V1Beta1Input {
|
|
75
|
+
address?: string;
|
|
76
|
+
coins?: V1Beta1Coin[];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Metadata represents a struct that describes
|
|
81
|
+
a basic token.
|
|
82
|
+
*/
|
|
83
|
+
export interface V1Beta1Metadata {
|
|
84
|
+
description?: string;
|
|
85
|
+
|
|
86
|
+
/** denom_units represents the list of DenomUnit's for a given coin */
|
|
87
|
+
denom_units?: V1Beta1DenomUnit[];
|
|
88
|
+
|
|
89
|
+
/** base represents the base denom (should be the DenomUnit with exponent = 0). */
|
|
90
|
+
base?: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* display indicates the suggested denom that should be
|
|
94
|
+
* displayed in clients.
|
|
95
|
+
*/
|
|
96
|
+
display?: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* name defines the name of the token (eg: Cosmos Atom)
|
|
100
|
+
* Since: cosmos-sdk 0.43
|
|
101
|
+
*/
|
|
102
|
+
name?: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
|
|
106
|
+
* be the same as the display.
|
|
107
|
+
*
|
|
108
|
+
* Since: cosmos-sdk 0.43
|
|
109
|
+
*/
|
|
110
|
+
symbol?: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* URI to a document (on or off-chain) that contains additional information. Optional.
|
|
114
|
+
*
|
|
115
|
+
* Since: cosmos-sdk 0.46
|
|
116
|
+
*/
|
|
117
|
+
uri?: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
|
|
121
|
+
* the document didn't change. Optional.
|
|
122
|
+
*
|
|
123
|
+
* Since: cosmos-sdk 0.46
|
|
124
|
+
*/
|
|
125
|
+
uri_hash?: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* MsgMultiSendResponse defines the Msg/MultiSend response type.
|
|
130
|
+
*/
|
|
131
|
+
export type V1Beta1MsgMultiSendResponse = object;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* MsgSendResponse defines the Msg/Send response type.
|
|
135
|
+
*/
|
|
136
|
+
export type V1Beta1MsgSendResponse = object;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Output models transaction outputs.
|
|
140
|
+
*/
|
|
141
|
+
export interface V1Beta1Output {
|
|
142
|
+
address?: string;
|
|
143
|
+
coins?: V1Beta1Coin[];
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* message SomeRequest {
|
|
148
|
+
Foo some_parameter = 1;
|
|
149
|
+
PageRequest pagination = 2;
|
|
150
|
+
}
|
|
151
|
+
*/
|
|
152
|
+
export interface V1Beta1PageRequest {
|
|
153
|
+
/**
|
|
154
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
155
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
156
|
+
* should be set.
|
|
157
|
+
* @format byte
|
|
158
|
+
*/
|
|
159
|
+
key?: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
163
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
164
|
+
* be set.
|
|
165
|
+
* @format uint64
|
|
166
|
+
*/
|
|
167
|
+
offset?: string;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* limit is the total number of results to be returned in the result page.
|
|
171
|
+
* If left empty it will default to a value to be set by each app.
|
|
172
|
+
* @format uint64
|
|
173
|
+
*/
|
|
174
|
+
limit?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* count_total is set to true to indicate that the result set should include
|
|
178
|
+
* a count of the total number of items available for pagination in UIs.
|
|
179
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
180
|
+
* is set.
|
|
181
|
+
*/
|
|
182
|
+
count_total?: boolean;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
186
|
+
*
|
|
187
|
+
* Since: cosmos-sdk 0.43
|
|
188
|
+
*/
|
|
189
|
+
reverse?: boolean;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
194
|
+
corresponding request message has used PageRequest.
|
|
195
|
+
|
|
196
|
+
message SomeResponse {
|
|
197
|
+
repeated Bar results = 1;
|
|
198
|
+
PageResponse page = 2;
|
|
199
|
+
}
|
|
200
|
+
*/
|
|
201
|
+
export interface V1Beta1PageResponse {
|
|
202
|
+
/**
|
|
203
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
204
|
+
* query the next page most efficiently. It will be empty if
|
|
205
|
+
* there are no more results.
|
|
206
|
+
* @format byte
|
|
207
|
+
*/
|
|
208
|
+
next_key?: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* total is total number of results available if PageRequest.count_total
|
|
212
|
+
* was set, its value is undefined otherwise
|
|
213
|
+
* @format uint64
|
|
214
|
+
*/
|
|
215
|
+
total?: string;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Params defines the parameters for the bank module.
|
|
220
|
+
*/
|
|
221
|
+
export interface V1Beta1Params {
|
|
222
|
+
send_enabled?: V1Beta1SendEnabled[];
|
|
223
|
+
default_send_enabled?: boolean;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
|
|
228
|
+
method.
|
|
229
|
+
*/
|
|
230
|
+
export interface V1Beta1QueryAllBalancesResponse {
|
|
231
|
+
/** balances is the balances of all the coins. */
|
|
232
|
+
balances?: V1Beta1Coin[];
|
|
233
|
+
|
|
234
|
+
/** pagination defines the pagination in the response. */
|
|
235
|
+
pagination?: V1Beta1PageResponse;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* QueryBalanceResponse is the response type for the Query/Balance RPC method.
|
|
240
|
+
*/
|
|
241
|
+
export interface V1Beta1QueryBalanceResponse {
|
|
242
|
+
/** balance is the balance of the coin. */
|
|
243
|
+
balance?: V1Beta1Coin;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
|
|
248
|
+
method.
|
|
249
|
+
*/
|
|
250
|
+
export interface V1Beta1QueryDenomMetadataResponse {
|
|
251
|
+
/** metadata describes and provides all the client information for the requested token. */
|
|
252
|
+
metadata?: V1Beta1Metadata;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
|
|
257
|
+
|
|
258
|
+
Since: cosmos-sdk 0.46
|
|
259
|
+
*/
|
|
260
|
+
export interface V1Beta1QueryDenomOwnersResponse {
|
|
261
|
+
denom_owners?: V1Beta1DenomOwner[];
|
|
262
|
+
|
|
263
|
+
/** pagination defines the pagination in the response. */
|
|
264
|
+
pagination?: V1Beta1PageResponse;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
|
|
269
|
+
method.
|
|
270
|
+
*/
|
|
271
|
+
export interface V1Beta1QueryDenomsMetadataResponse {
|
|
272
|
+
/** metadata provides the client information for all the registered tokens. */
|
|
273
|
+
metadatas?: V1Beta1Metadata[];
|
|
274
|
+
|
|
275
|
+
/** pagination defines the pagination in the response. */
|
|
276
|
+
pagination?: V1Beta1PageResponse;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* QueryParamsResponse defines the response type for querying x/bank parameters.
|
|
281
|
+
*/
|
|
282
|
+
export interface V1Beta1QueryParamsResponse {
|
|
283
|
+
/** Params defines the parameters for the bank module. */
|
|
284
|
+
params?: V1Beta1Params;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
|
|
289
|
+
an account's spendable balances.
|
|
290
|
+
|
|
291
|
+
Since: cosmos-sdk 0.46
|
|
292
|
+
*/
|
|
293
|
+
export interface V1Beta1QuerySpendableBalancesResponse {
|
|
294
|
+
/** balances is the spendable balances of all the coins. */
|
|
295
|
+
balances?: V1Beta1Coin[];
|
|
296
|
+
|
|
297
|
+
/** pagination defines the pagination in the response. */
|
|
298
|
+
pagination?: V1Beta1PageResponse;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
|
|
303
|
+
*/
|
|
304
|
+
export interface V1Beta1QuerySupplyOfResponse {
|
|
305
|
+
/** amount is the supply of the coin. */
|
|
306
|
+
amount?: V1Beta1Coin;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface V1Beta1QueryTotalSupplyResponse {
|
|
310
|
+
/** supply is the supply of the coins */
|
|
311
|
+
supply?: V1Beta1Coin[];
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* pagination defines the pagination in the response.
|
|
315
|
+
*
|
|
316
|
+
* Since: cosmos-sdk 0.43
|
|
317
|
+
*/
|
|
318
|
+
pagination?: V1Beta1PageResponse;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* SendEnabled maps coin denom to a send_enabled status (whether a denom is
|
|
323
|
+
sendable).
|
|
324
|
+
*/
|
|
325
|
+
export interface V1Beta1SendEnabled {
|
|
326
|
+
denom?: string;
|
|
327
|
+
enabled?: boolean;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
331
|
+
|
|
332
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
333
|
+
|
|
334
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
335
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
336
|
+
secure?: boolean;
|
|
337
|
+
/** request path */
|
|
338
|
+
path: string;
|
|
339
|
+
/** content type of request body */
|
|
340
|
+
type?: ContentType;
|
|
341
|
+
/** query params */
|
|
342
|
+
query?: QueryParamsType;
|
|
343
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
344
|
+
format?: ResponseType;
|
|
345
|
+
/** request body */
|
|
346
|
+
body?: unknown;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
350
|
+
|
|
351
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
352
|
+
securityWorker?: (
|
|
353
|
+
securityData: SecurityDataType | null,
|
|
354
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
355
|
+
secure?: boolean;
|
|
356
|
+
format?: ResponseType;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export enum ContentType {
|
|
360
|
+
Json = "application/json",
|
|
361
|
+
FormData = "multipart/form-data",
|
|
362
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
366
|
+
public instance: AxiosInstance;
|
|
367
|
+
private securityData: SecurityDataType | null = null;
|
|
368
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
369
|
+
private secure?: boolean;
|
|
370
|
+
private format?: ResponseType;
|
|
371
|
+
|
|
372
|
+
constructor({ securityWorker, secure, format, ...axiosConfig }: ApiConfig<SecurityDataType> = {}) {
|
|
373
|
+
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
374
|
+
this.secure = secure;
|
|
375
|
+
this.format = format;
|
|
376
|
+
this.securityWorker = securityWorker;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
380
|
+
this.securityData = data;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
private mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig {
|
|
384
|
+
return {
|
|
385
|
+
...this.instance.defaults,
|
|
386
|
+
...params1,
|
|
387
|
+
...(params2 || {}),
|
|
388
|
+
headers: {
|
|
389
|
+
...(this.instance.defaults.headers || {}),
|
|
390
|
+
...(params1.headers || {}),
|
|
391
|
+
...((params2 && params2.headers) || {}),
|
|
392
|
+
},
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
private createFormData(input: Record<string, unknown>): FormData {
|
|
397
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
398
|
+
const property = input[key];
|
|
399
|
+
formData.append(
|
|
400
|
+
key,
|
|
401
|
+
property instanceof Blob
|
|
402
|
+
? property
|
|
403
|
+
: typeof property === "object" && property !== null
|
|
404
|
+
? JSON.stringify(property)
|
|
405
|
+
: `${property}`,
|
|
406
|
+
);
|
|
407
|
+
return formData;
|
|
408
|
+
}, new FormData());
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
public request = async <T = any, _E = any>({
|
|
412
|
+
secure,
|
|
413
|
+
path,
|
|
414
|
+
type,
|
|
415
|
+
query,
|
|
416
|
+
format,
|
|
417
|
+
body,
|
|
418
|
+
...params
|
|
419
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
420
|
+
const secureParams =
|
|
421
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
422
|
+
this.securityWorker &&
|
|
423
|
+
(await this.securityWorker(this.securityData))) ||
|
|
424
|
+
{};
|
|
425
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
426
|
+
const responseFormat = (format && this.format) || void 0;
|
|
427
|
+
|
|
428
|
+
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
429
|
+
requestParams.headers.common = { Accept: "*/*" };
|
|
430
|
+
requestParams.headers.post = {};
|
|
431
|
+
requestParams.headers.put = {};
|
|
432
|
+
|
|
433
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
return this.instance.request({
|
|
437
|
+
...requestParams,
|
|
438
|
+
headers: {
|
|
439
|
+
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
440
|
+
...(requestParams.headers || {}),
|
|
441
|
+
},
|
|
442
|
+
params: query,
|
|
443
|
+
responseType: responseFormat,
|
|
444
|
+
data: body,
|
|
445
|
+
url: path,
|
|
446
|
+
});
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @title cosmos/bank/v1beta1/authz.proto
|
|
452
|
+
* @version version not set
|
|
453
|
+
*/
|
|
454
|
+
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
455
|
+
/**
|
|
456
|
+
* No description
|
|
457
|
+
*
|
|
458
|
+
* @tags Query
|
|
459
|
+
* @name QueryAllBalances
|
|
460
|
+
* @summary AllBalances queries the balance of all coins for a single account.
|
|
461
|
+
* @request GET:/cosmos/bank/v1beta1/balances/{address}
|
|
462
|
+
*/
|
|
463
|
+
queryAllBalances = (
|
|
464
|
+
address: string,
|
|
465
|
+
query?: {
|
|
466
|
+
"pagination.key"?: string;
|
|
467
|
+
"pagination.offset"?: string;
|
|
468
|
+
"pagination.limit"?: string;
|
|
469
|
+
"pagination.count_total"?: boolean;
|
|
470
|
+
"pagination.reverse"?: boolean;
|
|
471
|
+
},
|
|
472
|
+
params: RequestParams = {},
|
|
473
|
+
) =>
|
|
474
|
+
this.request<V1Beta1QueryAllBalancesResponse, RpcStatus>({
|
|
475
|
+
path: `/cosmos/bank/v1beta1/balances/${address}`,
|
|
476
|
+
method: "GET",
|
|
477
|
+
query: query,
|
|
478
|
+
format: "json",
|
|
479
|
+
...params,
|
|
480
|
+
});
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* No description
|
|
484
|
+
*
|
|
485
|
+
* @tags Query
|
|
486
|
+
* @name QueryBalance
|
|
487
|
+
* @summary Balance queries the balance of a single coin for a single account.
|
|
488
|
+
* @request GET:/cosmos/bank/v1beta1/balances/{address}/by_denom
|
|
489
|
+
*/
|
|
490
|
+
queryBalance = (address: string, query?: { denom?: string }, params: RequestParams = {}) =>
|
|
491
|
+
this.request<V1Beta1QueryBalanceResponse, RpcStatus>({
|
|
492
|
+
path: `/cosmos/bank/v1beta1/balances/${address}/by_denom`,
|
|
493
|
+
method: "GET",
|
|
494
|
+
query: query,
|
|
495
|
+
format: "json",
|
|
496
|
+
...params,
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @description Since: cosmos-sdk 0.46
|
|
501
|
+
*
|
|
502
|
+
* @tags Query
|
|
503
|
+
* @name QueryDenomOwners
|
|
504
|
+
* @summary DenomOwners queries for all account addresses that own a particular token
|
|
505
|
+
denomination.
|
|
506
|
+
* @request GET:/cosmos/bank/v1beta1/denom_owners/{denom}
|
|
507
|
+
*/
|
|
508
|
+
queryDenomOwners = (
|
|
509
|
+
denom: string,
|
|
510
|
+
query?: {
|
|
511
|
+
"pagination.key"?: string;
|
|
512
|
+
"pagination.offset"?: string;
|
|
513
|
+
"pagination.limit"?: string;
|
|
514
|
+
"pagination.count_total"?: boolean;
|
|
515
|
+
"pagination.reverse"?: boolean;
|
|
516
|
+
},
|
|
517
|
+
params: RequestParams = {},
|
|
518
|
+
) =>
|
|
519
|
+
this.request<V1Beta1QueryDenomOwnersResponse, RpcStatus>({
|
|
520
|
+
path: `/cosmos/bank/v1beta1/denom_owners/${denom}`,
|
|
521
|
+
method: "GET",
|
|
522
|
+
query: query,
|
|
523
|
+
format: "json",
|
|
524
|
+
...params,
|
|
525
|
+
});
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* No description
|
|
529
|
+
*
|
|
530
|
+
* @tags Query
|
|
531
|
+
* @name QueryDenomsMetadata
|
|
532
|
+
* @summary DenomsMetadata queries the client metadata for all registered coin
|
|
533
|
+
denominations.
|
|
534
|
+
* @request GET:/cosmos/bank/v1beta1/denoms_metadata
|
|
535
|
+
*/
|
|
536
|
+
queryDenomsMetadata = (
|
|
537
|
+
query?: {
|
|
538
|
+
"pagination.key"?: string;
|
|
539
|
+
"pagination.offset"?: string;
|
|
540
|
+
"pagination.limit"?: string;
|
|
541
|
+
"pagination.count_total"?: boolean;
|
|
542
|
+
"pagination.reverse"?: boolean;
|
|
543
|
+
},
|
|
544
|
+
params: RequestParams = {},
|
|
545
|
+
) =>
|
|
546
|
+
this.request<V1Beta1QueryDenomsMetadataResponse, RpcStatus>({
|
|
547
|
+
path: `/cosmos/bank/v1beta1/denoms_metadata`,
|
|
548
|
+
method: "GET",
|
|
549
|
+
query: query,
|
|
550
|
+
format: "json",
|
|
551
|
+
...params,
|
|
552
|
+
});
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* No description
|
|
556
|
+
*
|
|
557
|
+
* @tags Query
|
|
558
|
+
* @name QueryDenomMetadata
|
|
559
|
+
* @summary DenomsMetadata queries the client metadata of a given coin denomination.
|
|
560
|
+
* @request GET:/cosmos/bank/v1beta1/denoms_metadata/{denom}
|
|
561
|
+
*/
|
|
562
|
+
queryDenomMetadata = (denom: string, params: RequestParams = {}) =>
|
|
563
|
+
this.request<V1Beta1QueryDenomMetadataResponse, RpcStatus>({
|
|
564
|
+
path: `/cosmos/bank/v1beta1/denoms_metadata/${denom}`,
|
|
565
|
+
method: "GET",
|
|
566
|
+
format: "json",
|
|
567
|
+
...params,
|
|
568
|
+
});
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* No description
|
|
572
|
+
*
|
|
573
|
+
* @tags Query
|
|
574
|
+
* @name QueryParams
|
|
575
|
+
* @summary Params queries the parameters of x/bank module.
|
|
576
|
+
* @request GET:/cosmos/bank/v1beta1/params
|
|
577
|
+
*/
|
|
578
|
+
queryParams = (params: RequestParams = {}) =>
|
|
579
|
+
this.request<V1Beta1QueryParamsResponse, RpcStatus>({
|
|
580
|
+
path: `/cosmos/bank/v1beta1/params`,
|
|
581
|
+
method: "GET",
|
|
582
|
+
format: "json",
|
|
583
|
+
...params,
|
|
584
|
+
});
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @description Since: cosmos-sdk 0.46
|
|
588
|
+
*
|
|
589
|
+
* @tags Query
|
|
590
|
+
* @name QuerySpendableBalances
|
|
591
|
+
* @summary SpendableBalances queries the spenable balance of all coins for a single
|
|
592
|
+
account.
|
|
593
|
+
* @request GET:/cosmos/bank/v1beta1/spendable_balances/{address}
|
|
594
|
+
*/
|
|
595
|
+
querySpendableBalances = (
|
|
596
|
+
address: string,
|
|
597
|
+
query?: {
|
|
598
|
+
"pagination.key"?: string;
|
|
599
|
+
"pagination.offset"?: string;
|
|
600
|
+
"pagination.limit"?: string;
|
|
601
|
+
"pagination.count_total"?: boolean;
|
|
602
|
+
"pagination.reverse"?: boolean;
|
|
603
|
+
},
|
|
604
|
+
params: RequestParams = {},
|
|
605
|
+
) =>
|
|
606
|
+
this.request<V1Beta1QuerySpendableBalancesResponse, RpcStatus>({
|
|
607
|
+
path: `/cosmos/bank/v1beta1/spendable_balances/${address}`,
|
|
608
|
+
method: "GET",
|
|
609
|
+
query: query,
|
|
610
|
+
format: "json",
|
|
611
|
+
...params,
|
|
612
|
+
});
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* No description
|
|
616
|
+
*
|
|
617
|
+
* @tags Query
|
|
618
|
+
* @name QueryTotalSupply
|
|
619
|
+
* @summary TotalSupply queries the total supply of all coins.
|
|
620
|
+
* @request GET:/cosmos/bank/v1beta1/supply
|
|
621
|
+
*/
|
|
622
|
+
queryTotalSupply = (
|
|
623
|
+
query?: {
|
|
624
|
+
"pagination.key"?: string;
|
|
625
|
+
"pagination.offset"?: string;
|
|
626
|
+
"pagination.limit"?: string;
|
|
627
|
+
"pagination.count_total"?: boolean;
|
|
628
|
+
"pagination.reverse"?: boolean;
|
|
629
|
+
},
|
|
630
|
+
params: RequestParams = {},
|
|
631
|
+
) =>
|
|
632
|
+
this.request<V1Beta1QueryTotalSupplyResponse, RpcStatus>({
|
|
633
|
+
path: `/cosmos/bank/v1beta1/supply`,
|
|
634
|
+
method: "GET",
|
|
635
|
+
query: query,
|
|
636
|
+
format: "json",
|
|
637
|
+
...params,
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* No description
|
|
642
|
+
*
|
|
643
|
+
* @tags Query
|
|
644
|
+
* @name QuerySupplyOf
|
|
645
|
+
* @summary SupplyOf queries the supply of a single coin.
|
|
646
|
+
* @request GET:/cosmos/bank/v1beta1/supply/by_denom
|
|
647
|
+
*/
|
|
648
|
+
querySupplyOf = (query?: { denom?: string }, params: RequestParams = {}) =>
|
|
649
|
+
this.request<V1Beta1QuerySupplyOfResponse, RpcStatus>({
|
|
650
|
+
path: `/cosmos/bank/v1beta1/supply/by_denom`,
|
|
651
|
+
method: "GET",
|
|
652
|
+
query: query,
|
|
653
|
+
format: "json",
|
|
654
|
+
...params,
|
|
655
|
+
});
|
|
656
|
+
}
|