injectivejs 0.1.0 → 0.3.0
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/README.md +71 -10
- package/package.json +1 -1
- package/types/codegen/AtomicOrder.client.d.ts +26 -0
- package/types/codegen/AtomicOrder.types.d.ts +30 -0
- package/types/codegen/Registry.client.d.ts +70 -0
- package/types/codegen/Registry.types.d.ts +68 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +16 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +81 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +181 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +29 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +68 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +23 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +211 -0
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +30 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +68 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +153 -0
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +65 -0
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +37 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +252 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +30 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +10676 -0
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +61 -0
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +47 -0
- package/types/codegen/cosmos/client.d.ts +951 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +24 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +27 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +80 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +18 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +39 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +137 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +110 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +73 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +146 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +64 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +462 -0
- package/types/codegen/cosmos/group/v1/query.lcd.d.ts +21 -0
- package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +580 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +537 -0
- package/types/codegen/cosmos/lcd.d.ts +57 -0
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +22 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +56 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +99 -0
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +55 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +39 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +73 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +202 -0
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +40 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +196 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +158 -0
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +42 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +94 -0
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +18 -0
- package/types/codegen/cosmos/rpc.query.d.ts +186 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +47 -0
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +101 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +112 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +83 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +26 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +136 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +1248 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +62 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +201 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +52 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/api/annotations.d.ts +1 -0
- package/types/codegen/google/api/http.d.ts +721 -0
- package/types/codegen/google/bundle.d.ts +1597 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
- package/types/codegen/google/protobuf/struct.d.ts +148 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +4077 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +53 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +15 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +31 -0
- package/types/codegen/ibc/lcd.d.ts +75 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +242 -0
- package/types/codegen/ibc/rpc.tx.d.ts +65 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +19 -0
- package/types/codegen/injective/auction/v1beta1/auction.d.ts +96 -0
- package/types/codegen/injective/auction/v1beta1/genesis.d.ts +30 -0
- package/types/codegen/injective/auction/v1beta1/query.d.ts +95 -0
- package/types/codegen/injective/auction/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/injective/auction/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/injective/auction/v1beta1/tx.amino.d.ts +20 -0
- package/types/codegen/injective/auction/v1beta1/tx.d.ts +33 -0
- package/types/codegen/injective/auction/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/injective/auction/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/injective/bundle.d.ts +10808 -0
- package/types/codegen/injective/client.d.ts +1370 -0
- package/types/codegen/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +50 -0
- package/types/codegen/injective/exchange/v1beta1/authz.d.ts +153 -0
- package/types/codegen/injective/exchange/v1beta1/events.d.ts +390 -0
- package/types/codegen/injective/exchange/v1beta1/exchange.d.ts +1082 -0
- package/types/codegen/injective/exchange/v1beta1/genesis.d.ts +322 -0
- package/types/codegen/injective/exchange/v1beta1/query.d.ts +1595 -0
- package/types/codegen/injective/exchange/v1beta1/query.lcd.d.ts +54 -0
- package/types/codegen/injective/exchange/v1beta1/query.rpc.query.d.ts +150 -0
- package/types/codegen/injective/exchange/v1beta1/tx.amino.d.ts +590 -0
- package/types/codegen/injective/exchange/v1beta1/tx.d.ts +1697 -0
- package/types/codegen/injective/exchange/v1beta1/tx.registry.d.ts +348 -0
- package/types/codegen/injective/exchange/v1beta1/tx.rpc.msg.d.ts +65 -0
- package/types/codegen/injective/insurance/v1beta1/genesis.d.ts +46 -0
- package/types/codegen/injective/insurance/v1beta1/insurance.d.ts +176 -0
- package/types/codegen/injective/insurance/v1beta1/query.d.ts +161 -0
- package/types/codegen/injective/insurance/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/injective/insurance/v1beta1/query.rpc.query.d.ts +30 -0
- package/types/codegen/injective/insurance/v1beta1/tx.amino.d.ts +57 -0
- package/types/codegen/injective/insurance/v1beta1/tx.d.ts +120 -0
- package/types/codegen/injective/insurance/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/injective/insurance/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/injective/lcd.d.ts +80 -0
- package/types/codegen/injective/ocr/v1beta1/genesis.d.ts +144 -0
- package/types/codegen/injective/ocr/v1beta1/ocr.d.ts +488 -0
- package/types/codegen/injective/ocr/v1beta1/query.d.ts +165 -0
- package/types/codegen/injective/ocr/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/injective/ocr/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/injective/ocr/v1beta1/tx.amino.d.ts +149 -0
- package/types/codegen/injective/ocr/v1beta1/tx.d.ts +250 -0
- package/types/codegen/injective/ocr/v1beta1/tx.registry.d.ts +108 -0
- package/types/codegen/injective/ocr/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/types/codegen/injective/oracle/v1beta1/events.d.ts +147 -0
- package/types/codegen/injective/oracle/v1beta1/genesis.d.ts +57 -0
- package/types/codegen/injective/oracle/v1beta1/oracle.d.ts +412 -0
- package/types/codegen/injective/oracle/v1beta1/proposal.d.ts +152 -0
- package/types/codegen/injective/oracle/v1beta1/query.d.ts +327 -0
- package/types/codegen/injective/oracle/v1beta1/query.lcd.d.ts +20 -0
- package/types/codegen/injective/oracle/v1beta1/query.rpc.query.d.ts +48 -0
- package/types/codegen/injective/oracle/v1beta1/tx.amino.d.ts +73 -0
- package/types/codegen/injective/oracle/v1beta1/tx.d.ts +140 -0
- package/types/codegen/injective/oracle/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/injective/oracle/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/injective/peggy/v1/attestation.d.ts +107 -0
- package/types/codegen/injective/peggy/v1/batch.d.ts +45 -0
- package/types/codegen/injective/peggy/v1/ethereum_signer.d.ts +16 -0
- package/types/codegen/injective/peggy/v1/events.d.ts +290 -0
- package/types/codegen/injective/peggy/v1/genesis.d.ts +99 -0
- package/types/codegen/injective/peggy/v1/msgs.amino.d.ts +177 -0
- package/types/codegen/injective/peggy/v1/msgs.d.ts +499 -0
- package/types/codegen/injective/peggy/v1/msgs.registry.d.ts +144 -0
- package/types/codegen/injective/peggy/v1/msgs.rpc.msg.d.ts +31 -0
- package/types/codegen/injective/peggy/v1/pool.d.ts +30 -0
- package/types/codegen/injective/peggy/v1/proposal.d.ts +32 -0
- package/types/codegen/injective/peggy/v1/query.d.ts +457 -0
- package/types/codegen/injective/peggy/v1/query.lcd.d.ts +28 -0
- package/types/codegen/injective/peggy/v1/query.rpc.query.d.ts +72 -0
- package/types/codegen/injective/peggy/v1/types.d.ts +111 -0
- package/types/codegen/injective/rpc.query.d.ts +312 -0
- package/types/codegen/injective/rpc.tx.d.ts +67 -0
- package/types/codegen/injective/types/v1beta1/account.d.ts +24 -0
- package/types/codegen/injective/types/v1beta1/tx_ext.d.ts +41 -0
- package/types/codegen/injective/types/v1beta1/tx_response.d.ts +30 -0
- package/types/codegen/injective/wasmx/v1/genesis.d.ts +18 -0
- package/types/codegen/injective/wasmx/v1/query.d.ts +52 -0
- package/types/codegen/injective/wasmx/v1/query.lcd.d.ts +10 -0
- package/types/codegen/injective/wasmx/v1/query.rpc.query.d.ts +18 -0
- package/types/codegen/injective/wasmx/v1/tx.d.ts +1 -0
- package/types/codegen/injective/wasmx/v1/wasmx.d.ts +84 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +2065 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
|
@@ -0,0 +1,1595 @@
|
|
|
1
|
+
import { SubaccountOrderData, SubaccountOrderDataSDKType, SubaccountOrderbookMetadata, SubaccountOrderbookMetadataSDKType, Params, ParamsSDKType, Deposit, DepositSDKType, SpotMarket, SpotMarketSDKType, PerpetualMarketInfo, PerpetualMarketInfoSDKType, PerpetualMarketFunding, PerpetualMarketFundingSDKType, DerivativeMarket, DerivativeMarketSDKType, ExpiryFuturesMarketInfo, ExpiryFuturesMarketInfoSDKType, Position, PositionSDKType, TradingRewardCampaignInfo, TradingRewardCampaignInfoSDKType, CampaignRewardPool, CampaignRewardPoolSDKType, FeeDiscountTierInfo, FeeDiscountTierInfoSDKType, FeeDiscountTierTTL, FeeDiscountTierTTLSDKType, FeeDiscountSchedule, FeeDiscountScheduleSDKType, TradeRecords, TradeRecordsSDKType, TradeRecord, TradeRecordSDKType, BinaryOptionsMarket, BinaryOptionsMarketSDKType } from "./exchange";
|
|
2
|
+
import { Balance, BalanceSDKType, DerivativePosition, DerivativePositionSDKType, GenesisState, GenesisStateSDKType } from "./genesis";
|
|
3
|
+
import { MetadataStatistics, MetadataStatisticsSDKType } from "../../oracle/v1beta1/oracle";
|
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
|
5
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
|
6
|
+
/** CancellationStrategy is the list of cancellation strategies. */
|
|
7
|
+
export declare enum CancellationStrategy {
|
|
8
|
+
/** UnspecifiedOrder - just cancelling in random order in most efficient way */
|
|
9
|
+
UnspecifiedOrder = 0,
|
|
10
|
+
/** FromWorstToBest - e.g. for buy orders from lowest to highest price */
|
|
11
|
+
FromWorstToBest = 1,
|
|
12
|
+
/** FromBestToWorst - e.g. for buy orders from higest to lowest price */
|
|
13
|
+
FromBestToWorst = 2,
|
|
14
|
+
UNRECOGNIZED = -1
|
|
15
|
+
}
|
|
16
|
+
/** CancellationStrategy is the list of cancellation strategies. */
|
|
17
|
+
export declare enum CancellationStrategySDKType {
|
|
18
|
+
/** UnspecifiedOrder - just cancelling in random order in most efficient way */
|
|
19
|
+
UnspecifiedOrder = 0,
|
|
20
|
+
/** FromWorstToBest - e.g. for buy orders from lowest to highest price */
|
|
21
|
+
FromWorstToBest = 1,
|
|
22
|
+
/** FromBestToWorst - e.g. for buy orders from higest to lowest price */
|
|
23
|
+
FromBestToWorst = 2,
|
|
24
|
+
UNRECOGNIZED = -1
|
|
25
|
+
}
|
|
26
|
+
export declare function cancellationStrategyFromJSON(object: any): CancellationStrategy;
|
|
27
|
+
export declare function cancellationStrategyToJSON(object: CancellationStrategy): string;
|
|
28
|
+
export interface Subaccount {
|
|
29
|
+
trader: string;
|
|
30
|
+
subaccountNonce: number;
|
|
31
|
+
}
|
|
32
|
+
export interface SubaccountSDKType {
|
|
33
|
+
trader: string;
|
|
34
|
+
subaccount_nonce: number;
|
|
35
|
+
}
|
|
36
|
+
export interface QuerySubaccountOrdersRequest {
|
|
37
|
+
subaccountId: string;
|
|
38
|
+
marketId?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface QuerySubaccountOrdersRequestSDKType {
|
|
41
|
+
subaccount_id: string;
|
|
42
|
+
market_id?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface QuerySubaccountOrdersResponse {
|
|
45
|
+
buyOrders: SubaccountOrderData[];
|
|
46
|
+
sellOrders: SubaccountOrderData[];
|
|
47
|
+
}
|
|
48
|
+
export interface QuerySubaccountOrdersResponseSDKType {
|
|
49
|
+
buy_orders: SubaccountOrderDataSDKType[];
|
|
50
|
+
sell_orders: SubaccountOrderDataSDKType[];
|
|
51
|
+
}
|
|
52
|
+
export interface SubaccountOrderbookMetadataWithMarket {
|
|
53
|
+
metadata: SubaccountOrderbookMetadata;
|
|
54
|
+
marketId: string;
|
|
55
|
+
isBuy: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface SubaccountOrderbookMetadataWithMarketSDKType {
|
|
58
|
+
metadata: SubaccountOrderbookMetadataSDKType;
|
|
59
|
+
market_id: string;
|
|
60
|
+
isBuy: boolean;
|
|
61
|
+
}
|
|
62
|
+
/** QueryExchangeParamsRequest is the request type for the Query/ExchangeParams RPC method. */
|
|
63
|
+
export interface QueryExchangeParamsRequest {
|
|
64
|
+
}
|
|
65
|
+
/** QueryExchangeParamsRequest is the request type for the Query/ExchangeParams RPC method. */
|
|
66
|
+
export interface QueryExchangeParamsRequestSDKType {
|
|
67
|
+
}
|
|
68
|
+
/** QueryExchangeParamsRequest is the response type for the Query/ExchangeParams RPC method. */
|
|
69
|
+
export interface QueryExchangeParamsResponse {
|
|
70
|
+
params: Params;
|
|
71
|
+
}
|
|
72
|
+
/** QueryExchangeParamsRequest is the response type for the Query/ExchangeParams RPC method. */
|
|
73
|
+
export interface QueryExchangeParamsResponseSDKType {
|
|
74
|
+
params: ParamsSDKType;
|
|
75
|
+
}
|
|
76
|
+
/** QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method. */
|
|
77
|
+
export interface QuerySubaccountDepositsRequest {
|
|
78
|
+
subaccountId?: string;
|
|
79
|
+
subaccount?: Subaccount;
|
|
80
|
+
}
|
|
81
|
+
/** QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method. */
|
|
82
|
+
export interface QuerySubaccountDepositsRequestSDKType {
|
|
83
|
+
subaccount_id?: string;
|
|
84
|
+
subaccount?: SubaccountSDKType;
|
|
85
|
+
}
|
|
86
|
+
export interface QuerySubaccountDepositsResponse_DepositsEntry {
|
|
87
|
+
key: string;
|
|
88
|
+
value: Deposit;
|
|
89
|
+
}
|
|
90
|
+
export interface QuerySubaccountDepositsResponse_DepositsEntrySDKType {
|
|
91
|
+
key: string;
|
|
92
|
+
value: DepositSDKType;
|
|
93
|
+
}
|
|
94
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
95
|
+
export interface QuerySubaccountDepositsResponse {
|
|
96
|
+
deposits: {
|
|
97
|
+
[key: string]: Deposit;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
101
|
+
export interface QuerySubaccountDepositsResponseSDKType {
|
|
102
|
+
deposits: {
|
|
103
|
+
[key: string]: DepositSDKType;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
/** QueryExchangeBalancesRequest is the request type for the Query/ExchangeBalances RPC method. */
|
|
107
|
+
export interface QueryExchangeBalancesRequest {
|
|
108
|
+
}
|
|
109
|
+
/** QueryExchangeBalancesRequest is the request type for the Query/ExchangeBalances RPC method. */
|
|
110
|
+
export interface QueryExchangeBalancesRequestSDKType {
|
|
111
|
+
}
|
|
112
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
113
|
+
export interface QueryExchangeBalancesResponse {
|
|
114
|
+
balances: Balance[];
|
|
115
|
+
}
|
|
116
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
117
|
+
export interface QueryExchangeBalancesResponseSDKType {
|
|
118
|
+
balances: BalanceSDKType[];
|
|
119
|
+
}
|
|
120
|
+
/** QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method. */
|
|
121
|
+
export interface QuerySubaccountDepositRequest {
|
|
122
|
+
subaccountId?: string;
|
|
123
|
+
denom?: string;
|
|
124
|
+
}
|
|
125
|
+
/** QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method. */
|
|
126
|
+
export interface QuerySubaccountDepositRequestSDKType {
|
|
127
|
+
subaccount_id?: string;
|
|
128
|
+
denom?: string;
|
|
129
|
+
}
|
|
130
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
131
|
+
export interface QuerySubaccountDepositResponse {
|
|
132
|
+
deposits: Deposit;
|
|
133
|
+
}
|
|
134
|
+
/** QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method. */
|
|
135
|
+
export interface QuerySubaccountDepositResponseSDKType {
|
|
136
|
+
deposits: DepositSDKType;
|
|
137
|
+
}
|
|
138
|
+
/** QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC method. */
|
|
139
|
+
export interface QuerySpotMarketsRequest {
|
|
140
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
141
|
+
status?: string;
|
|
142
|
+
}
|
|
143
|
+
/** QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC method. */
|
|
144
|
+
export interface QuerySpotMarketsRequestSDKType {
|
|
145
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
146
|
+
status?: string;
|
|
147
|
+
}
|
|
148
|
+
/** QuerySpotMarketsResponse is the response type for the Query/SpotMarkets RPC method. */
|
|
149
|
+
export interface QuerySpotMarketsResponse {
|
|
150
|
+
markets: SpotMarket[];
|
|
151
|
+
}
|
|
152
|
+
/** QuerySpotMarketsResponse is the response type for the Query/SpotMarkets RPC method. */
|
|
153
|
+
export interface QuerySpotMarketsResponseSDKType {
|
|
154
|
+
markets: SpotMarketSDKType[];
|
|
155
|
+
}
|
|
156
|
+
/** QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC method. */
|
|
157
|
+
export interface QuerySpotMarketRequest {
|
|
158
|
+
/** Market ID for the market */
|
|
159
|
+
marketId: string;
|
|
160
|
+
}
|
|
161
|
+
/** QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC method. */
|
|
162
|
+
export interface QuerySpotMarketRequestSDKType {
|
|
163
|
+
/** Market ID for the market */
|
|
164
|
+
market_id: string;
|
|
165
|
+
}
|
|
166
|
+
/** QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC method. */
|
|
167
|
+
export interface QuerySpotMarketResponse {
|
|
168
|
+
market: SpotMarket;
|
|
169
|
+
}
|
|
170
|
+
/** QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC method. */
|
|
171
|
+
export interface QuerySpotMarketResponseSDKType {
|
|
172
|
+
market: SpotMarketSDKType;
|
|
173
|
+
}
|
|
174
|
+
/** QuerySpotOrderbookRequest is the request type for the Query/SpotOrderbook RPC method. */
|
|
175
|
+
export interface QuerySpotOrderbookRequest {
|
|
176
|
+
/** Market ID for the market */
|
|
177
|
+
marketId: string;
|
|
178
|
+
limit?: Long;
|
|
179
|
+
}
|
|
180
|
+
/** QuerySpotOrderbookRequest is the request type for the Query/SpotOrderbook RPC method. */
|
|
181
|
+
export interface QuerySpotOrderbookRequestSDKType {
|
|
182
|
+
/** Market ID for the market */
|
|
183
|
+
market_id: string;
|
|
184
|
+
limit?: Long;
|
|
185
|
+
}
|
|
186
|
+
/** QuerySpotOrderbookResponse is the response type for the Query/SpotOrderbook RPC method. */
|
|
187
|
+
export interface QuerySpotOrderbookResponse {
|
|
188
|
+
buysPriceLevel: PriceLevel[];
|
|
189
|
+
sellsPriceLevel: PriceLevel[];
|
|
190
|
+
}
|
|
191
|
+
/** QuerySpotOrderbookResponse is the response type for the Query/SpotOrderbook RPC method. */
|
|
192
|
+
export interface QuerySpotOrderbookResponseSDKType {
|
|
193
|
+
buys_price_level: PriceLevelSDKType[];
|
|
194
|
+
sells_price_level: PriceLevelSDKType[];
|
|
195
|
+
}
|
|
196
|
+
/** QueryTraderSpotOrdersRequest is the request type for the Query/TraderSpotOrders RPC method. */
|
|
197
|
+
export interface QuerySpotOrdersByHashesRequest {
|
|
198
|
+
/** Market ID for the market */
|
|
199
|
+
marketId: string;
|
|
200
|
+
/** SubaccountID of the trader */
|
|
201
|
+
subaccountId: string;
|
|
202
|
+
/** the order hashes */
|
|
203
|
+
orderHashes?: string[];
|
|
204
|
+
}
|
|
205
|
+
/** QueryTraderSpotOrdersRequest is the request type for the Query/TraderSpotOrders RPC method. */
|
|
206
|
+
export interface QuerySpotOrdersByHashesRequestSDKType {
|
|
207
|
+
/** Market ID for the market */
|
|
208
|
+
market_id: string;
|
|
209
|
+
/** SubaccountID of the trader */
|
|
210
|
+
subaccount_id: string;
|
|
211
|
+
/** the order hashes */
|
|
212
|
+
order_hashes?: string[];
|
|
213
|
+
}
|
|
214
|
+
/** QuerySpotOrdersByHashesResponse is the response type for the Query/SpotOrdersByHashes RPC method. */
|
|
215
|
+
export interface QuerySpotOrdersByHashesResponse {
|
|
216
|
+
orders: TrimmedSpotLimitOrder[];
|
|
217
|
+
}
|
|
218
|
+
/** QuerySpotOrdersByHashesResponse is the response type for the Query/SpotOrdersByHashes RPC method. */
|
|
219
|
+
export interface QuerySpotOrdersByHashesResponseSDKType {
|
|
220
|
+
orders: TrimmedSpotLimitOrderSDKType[];
|
|
221
|
+
}
|
|
222
|
+
/** QueryTraderSpotOrdersRequest is the request type for the Query/TraderSpotOrders RPC method. */
|
|
223
|
+
export interface QueryTraderSpotOrdersRequest {
|
|
224
|
+
/** Market ID for the market */
|
|
225
|
+
marketId: string;
|
|
226
|
+
/** SubaccountID of the trader */
|
|
227
|
+
subaccountId: string;
|
|
228
|
+
}
|
|
229
|
+
/** QueryTraderSpotOrdersRequest is the request type for the Query/TraderSpotOrders RPC method. */
|
|
230
|
+
export interface QueryTraderSpotOrdersRequestSDKType {
|
|
231
|
+
/** Market ID for the market */
|
|
232
|
+
market_id: string;
|
|
233
|
+
/** SubaccountID of the trader */
|
|
234
|
+
subaccount_id: string;
|
|
235
|
+
}
|
|
236
|
+
export interface TrimmedSpotLimitOrder {
|
|
237
|
+
/** price of the order */
|
|
238
|
+
price: string;
|
|
239
|
+
/** quantity of the order */
|
|
240
|
+
quantity: string;
|
|
241
|
+
/** the amount of the quantity remaining fillable */
|
|
242
|
+
fillable: string;
|
|
243
|
+
/** true if the order is a buy */
|
|
244
|
+
isBuy: boolean;
|
|
245
|
+
orderHash: string;
|
|
246
|
+
}
|
|
247
|
+
export interface TrimmedSpotLimitOrderSDKType {
|
|
248
|
+
/** price of the order */
|
|
249
|
+
price: string;
|
|
250
|
+
/** quantity of the order */
|
|
251
|
+
quantity: string;
|
|
252
|
+
/** the amount of the quantity remaining fillable */
|
|
253
|
+
fillable: string;
|
|
254
|
+
/** true if the order is a buy */
|
|
255
|
+
isBuy: boolean;
|
|
256
|
+
order_hash: string;
|
|
257
|
+
}
|
|
258
|
+
/** QueryTraderSpotOrdersResponse is the response type for the Query/TraderSpotOrders RPC method. */
|
|
259
|
+
export interface QueryTraderSpotOrdersResponse {
|
|
260
|
+
orders: TrimmedSpotLimitOrder[];
|
|
261
|
+
}
|
|
262
|
+
/** QueryTraderSpotOrdersResponse is the response type for the Query/TraderSpotOrders RPC method. */
|
|
263
|
+
export interface QueryTraderSpotOrdersResponseSDKType {
|
|
264
|
+
orders: TrimmedSpotLimitOrderSDKType[];
|
|
265
|
+
}
|
|
266
|
+
/** QuerySpotMidPriceAndTOBRequest is the request type for the Query/SpotMidPriceAndTOB RPC method. */
|
|
267
|
+
export interface QuerySpotMidPriceAndTOBRequest {
|
|
268
|
+
/** Market ID for the market */
|
|
269
|
+
marketId: string;
|
|
270
|
+
}
|
|
271
|
+
/** QuerySpotMidPriceAndTOBRequest is the request type for the Query/SpotMidPriceAndTOB RPC method. */
|
|
272
|
+
export interface QuerySpotMidPriceAndTOBRequestSDKType {
|
|
273
|
+
/** Market ID for the market */
|
|
274
|
+
market_id: string;
|
|
275
|
+
}
|
|
276
|
+
/** QuerySpotMidPriceAndTOBResponse is the response type for the Query/SpotMidPriceAndTOB RPC method. */
|
|
277
|
+
export interface QuerySpotMidPriceAndTOBResponse {
|
|
278
|
+
/** mid price of the market */
|
|
279
|
+
midPrice?: string;
|
|
280
|
+
/** best buy price of the market */
|
|
281
|
+
bestBuyPrice?: string;
|
|
282
|
+
/** best sell price of the market */
|
|
283
|
+
bestSellPrice?: string;
|
|
284
|
+
}
|
|
285
|
+
/** QuerySpotMidPriceAndTOBResponse is the response type for the Query/SpotMidPriceAndTOB RPC method. */
|
|
286
|
+
export interface QuerySpotMidPriceAndTOBResponseSDKType {
|
|
287
|
+
/** mid price of the market */
|
|
288
|
+
mid_price?: string;
|
|
289
|
+
/** best buy price of the market */
|
|
290
|
+
best_buy_price?: string;
|
|
291
|
+
/** best sell price of the market */
|
|
292
|
+
best_sell_price?: string;
|
|
293
|
+
}
|
|
294
|
+
/** QueryDerivativeMidPriceAndTOBRequest is the request type for the Query/GetDerivativeMidPriceAndTOB RPC method. */
|
|
295
|
+
export interface QueryDerivativeMidPriceAndTOBRequest {
|
|
296
|
+
/** Market ID for the market */
|
|
297
|
+
marketId: string;
|
|
298
|
+
}
|
|
299
|
+
/** QueryDerivativeMidPriceAndTOBRequest is the request type for the Query/GetDerivativeMidPriceAndTOB RPC method. */
|
|
300
|
+
export interface QueryDerivativeMidPriceAndTOBRequestSDKType {
|
|
301
|
+
/** Market ID for the market */
|
|
302
|
+
market_id: string;
|
|
303
|
+
}
|
|
304
|
+
/** QueryDerivativeMidPriceAndTOBResponse is the response type for the Query/GetDerivativeMidPriceAndTOB RPC method. */
|
|
305
|
+
export interface QueryDerivativeMidPriceAndTOBResponse {
|
|
306
|
+
/** mid price of the market */
|
|
307
|
+
midPrice?: string;
|
|
308
|
+
/** best buy price of the market */
|
|
309
|
+
bestBuyPrice?: string;
|
|
310
|
+
/** best sell price of the market */
|
|
311
|
+
bestSellPrice?: string;
|
|
312
|
+
}
|
|
313
|
+
/** QueryDerivativeMidPriceAndTOBResponse is the response type for the Query/GetDerivativeMidPriceAndTOB RPC method. */
|
|
314
|
+
export interface QueryDerivativeMidPriceAndTOBResponseSDKType {
|
|
315
|
+
/** mid price of the market */
|
|
316
|
+
mid_price?: string;
|
|
317
|
+
/** best buy price of the market */
|
|
318
|
+
best_buy_price?: string;
|
|
319
|
+
/** best sell price of the market */
|
|
320
|
+
best_sell_price?: string;
|
|
321
|
+
}
|
|
322
|
+
/** QueryDerivativeOrderbookRequest is the request type for the Query/DerivativeOrderbook RPC method. */
|
|
323
|
+
export interface QueryDerivativeOrderbookRequest {
|
|
324
|
+
/** Market ID for the market */
|
|
325
|
+
marketId: string;
|
|
326
|
+
limit?: Long;
|
|
327
|
+
}
|
|
328
|
+
/** QueryDerivativeOrderbookRequest is the request type for the Query/DerivativeOrderbook RPC method. */
|
|
329
|
+
export interface QueryDerivativeOrderbookRequestSDKType {
|
|
330
|
+
/** Market ID for the market */
|
|
331
|
+
market_id: string;
|
|
332
|
+
limit?: Long;
|
|
333
|
+
}
|
|
334
|
+
/** QueryDerivativeOrderbookResponse is the response type for the Query/DerivativeOrderbook RPC method. */
|
|
335
|
+
export interface QueryDerivativeOrderbookResponse {
|
|
336
|
+
buysPriceLevel: PriceLevel[];
|
|
337
|
+
sellsPriceLevel: PriceLevel[];
|
|
338
|
+
}
|
|
339
|
+
/** QueryDerivativeOrderbookResponse is the response type for the Query/DerivativeOrderbook RPC method. */
|
|
340
|
+
export interface QueryDerivativeOrderbookResponseSDKType {
|
|
341
|
+
buys_price_level: PriceLevelSDKType[];
|
|
342
|
+
sells_price_level: PriceLevelSDKType[];
|
|
343
|
+
}
|
|
344
|
+
/** QueryTraderSpotOrdersToCancelUpToAmountRequest is the request type for the Query/TraderSpotOrdersToCancelUpToAmountRequest RPC method. */
|
|
345
|
+
export interface QueryTraderSpotOrdersToCancelUpToAmountRequest {
|
|
346
|
+
/** Market ID for the market */
|
|
347
|
+
marketId: string;
|
|
348
|
+
/** SubaccountID of the trader */
|
|
349
|
+
subaccountId: string;
|
|
350
|
+
/** the base amount to cancel (free up) */
|
|
351
|
+
baseAmount: string;
|
|
352
|
+
/** the quote amount to cancel (free up) */
|
|
353
|
+
quoteAmount: string;
|
|
354
|
+
/** The cancellation strategy */
|
|
355
|
+
strategy: CancellationStrategy;
|
|
356
|
+
/** The reference price for the cancellation strategy, e.g. mid price or mark price */
|
|
357
|
+
referencePrice?: string;
|
|
358
|
+
}
|
|
359
|
+
/** QueryTraderSpotOrdersToCancelUpToAmountRequest is the request type for the Query/TraderSpotOrdersToCancelUpToAmountRequest RPC method. */
|
|
360
|
+
export interface QueryTraderSpotOrdersToCancelUpToAmountRequestSDKType {
|
|
361
|
+
/** Market ID for the market */
|
|
362
|
+
market_id: string;
|
|
363
|
+
/** SubaccountID of the trader */
|
|
364
|
+
subaccount_id: string;
|
|
365
|
+
/** the base amount to cancel (free up) */
|
|
366
|
+
base_amount: string;
|
|
367
|
+
/** the quote amount to cancel (free up) */
|
|
368
|
+
quote_amount: string;
|
|
369
|
+
/** The cancellation strategy */
|
|
370
|
+
strategy: CancellationStrategySDKType;
|
|
371
|
+
/** The reference price for the cancellation strategy, e.g. mid price or mark price */
|
|
372
|
+
reference_price?: string;
|
|
373
|
+
}
|
|
374
|
+
/** QueryTraderDerivativeOrdersToCancelUpToAmountRequest is the request type for the Query/TraderDerivativeOrdersToCancelUpToAmountRequest RPC method. */
|
|
375
|
+
export interface QueryTraderDerivativeOrdersToCancelUpToAmountRequest {
|
|
376
|
+
/** Market ID for the market */
|
|
377
|
+
marketId: string;
|
|
378
|
+
/** SubaccountID of the trader */
|
|
379
|
+
subaccountId: string;
|
|
380
|
+
/** the quote amount to cancel (free up) */
|
|
381
|
+
quoteAmount: string;
|
|
382
|
+
/** The cancellation strategy */
|
|
383
|
+
strategy: CancellationStrategy;
|
|
384
|
+
/** The reference price for the cancellation strategy, e.g. mid price or mark price */
|
|
385
|
+
referencePrice?: string;
|
|
386
|
+
}
|
|
387
|
+
/** QueryTraderDerivativeOrdersToCancelUpToAmountRequest is the request type for the Query/TraderDerivativeOrdersToCancelUpToAmountRequest RPC method. */
|
|
388
|
+
export interface QueryTraderDerivativeOrdersToCancelUpToAmountRequestSDKType {
|
|
389
|
+
/** Market ID for the market */
|
|
390
|
+
market_id: string;
|
|
391
|
+
/** SubaccountID of the trader */
|
|
392
|
+
subaccount_id: string;
|
|
393
|
+
/** the quote amount to cancel (free up) */
|
|
394
|
+
quote_amount: string;
|
|
395
|
+
/** The cancellation strategy */
|
|
396
|
+
strategy: CancellationStrategySDKType;
|
|
397
|
+
/** The reference price for the cancellation strategy, e.g. mid price or mark price */
|
|
398
|
+
reference_price?: string;
|
|
399
|
+
}
|
|
400
|
+
/** QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method. */
|
|
401
|
+
export interface QueryTraderDerivativeOrdersRequest {
|
|
402
|
+
/** Market ID for the market */
|
|
403
|
+
marketId: string;
|
|
404
|
+
/** SubaccountID of the trader */
|
|
405
|
+
subaccountId: string;
|
|
406
|
+
}
|
|
407
|
+
/** QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method. */
|
|
408
|
+
export interface QueryTraderDerivativeOrdersRequestSDKType {
|
|
409
|
+
/** Market ID for the market */
|
|
410
|
+
market_id: string;
|
|
411
|
+
/** SubaccountID of the trader */
|
|
412
|
+
subaccount_id: string;
|
|
413
|
+
}
|
|
414
|
+
export interface TrimmedDerivativeLimitOrder {
|
|
415
|
+
/** price of the order */
|
|
416
|
+
price: string;
|
|
417
|
+
/** quantity of the order */
|
|
418
|
+
quantity: string;
|
|
419
|
+
/** margin of the order */
|
|
420
|
+
margin: string;
|
|
421
|
+
/** the amount of the quantity remaining fillable */
|
|
422
|
+
fillable: string;
|
|
423
|
+
/** true if the order is a buy */
|
|
424
|
+
isBuy: boolean;
|
|
425
|
+
orderHash: string;
|
|
426
|
+
}
|
|
427
|
+
export interface TrimmedDerivativeLimitOrderSDKType {
|
|
428
|
+
/** price of the order */
|
|
429
|
+
price: string;
|
|
430
|
+
/** quantity of the order */
|
|
431
|
+
quantity: string;
|
|
432
|
+
/** margin of the order */
|
|
433
|
+
margin: string;
|
|
434
|
+
/** the amount of the quantity remaining fillable */
|
|
435
|
+
fillable: string;
|
|
436
|
+
/** true if the order is a buy */
|
|
437
|
+
isBuy: boolean;
|
|
438
|
+
order_hash: string;
|
|
439
|
+
}
|
|
440
|
+
/** QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method. */
|
|
441
|
+
export interface QueryTraderDerivativeOrdersResponse {
|
|
442
|
+
orders: TrimmedDerivativeLimitOrder[];
|
|
443
|
+
}
|
|
444
|
+
/** QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method. */
|
|
445
|
+
export interface QueryTraderDerivativeOrdersResponseSDKType {
|
|
446
|
+
orders: TrimmedDerivativeLimitOrderSDKType[];
|
|
447
|
+
}
|
|
448
|
+
/** QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method. */
|
|
449
|
+
export interface QueryDerivativeOrdersByHashesRequest {
|
|
450
|
+
/** Market ID for the market */
|
|
451
|
+
marketId: string;
|
|
452
|
+
/** SubaccountID of the trader */
|
|
453
|
+
subaccountId: string;
|
|
454
|
+
/** the order hashes */
|
|
455
|
+
orderHashes?: string[];
|
|
456
|
+
}
|
|
457
|
+
/** QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method. */
|
|
458
|
+
export interface QueryDerivativeOrdersByHashesRequestSDKType {
|
|
459
|
+
/** Market ID for the market */
|
|
460
|
+
market_id: string;
|
|
461
|
+
/** SubaccountID of the trader */
|
|
462
|
+
subaccount_id: string;
|
|
463
|
+
/** the order hashes */
|
|
464
|
+
order_hashes?: string[];
|
|
465
|
+
}
|
|
466
|
+
/** QueryDerivativeOrdersByHashesResponse is the response type for the Query/DerivativeOrdersByHashes RPC method. */
|
|
467
|
+
export interface QueryDerivativeOrdersByHashesResponse {
|
|
468
|
+
orders: TrimmedDerivativeLimitOrder[];
|
|
469
|
+
}
|
|
470
|
+
/** QueryDerivativeOrdersByHashesResponse is the response type for the Query/DerivativeOrdersByHashes RPC method. */
|
|
471
|
+
export interface QueryDerivativeOrdersByHashesResponseSDKType {
|
|
472
|
+
orders: TrimmedDerivativeLimitOrderSDKType[];
|
|
473
|
+
}
|
|
474
|
+
/** QueryDerivativeMarketsRequest is the request type for the Query/DerivativeMarkets RPC method. */
|
|
475
|
+
export interface QueryDerivativeMarketsRequest {
|
|
476
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
477
|
+
status?: string;
|
|
478
|
+
}
|
|
479
|
+
/** QueryDerivativeMarketsRequest is the request type for the Query/DerivativeMarkets RPC method. */
|
|
480
|
+
export interface QueryDerivativeMarketsRequestSDKType {
|
|
481
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
482
|
+
status?: string;
|
|
483
|
+
}
|
|
484
|
+
export interface PriceLevel {
|
|
485
|
+
price: string;
|
|
486
|
+
/** quantity */
|
|
487
|
+
quantity: string;
|
|
488
|
+
}
|
|
489
|
+
export interface PriceLevelSDKType {
|
|
490
|
+
price: string;
|
|
491
|
+
/** quantity */
|
|
492
|
+
quantity: string;
|
|
493
|
+
}
|
|
494
|
+
export interface PerpetualMarketState {
|
|
495
|
+
marketInfo: PerpetualMarketInfo;
|
|
496
|
+
fundingInfo: PerpetualMarketFunding;
|
|
497
|
+
}
|
|
498
|
+
export interface PerpetualMarketStateSDKType {
|
|
499
|
+
market_info: PerpetualMarketInfoSDKType;
|
|
500
|
+
funding_info: PerpetualMarketFundingSDKType;
|
|
501
|
+
}
|
|
502
|
+
export interface FullDerivativeMarket {
|
|
503
|
+
market: DerivativeMarket;
|
|
504
|
+
perpetualInfo?: PerpetualMarketState;
|
|
505
|
+
futuresInfo?: ExpiryFuturesMarketInfo;
|
|
506
|
+
markPrice: string;
|
|
507
|
+
}
|
|
508
|
+
export interface FullDerivativeMarketSDKType {
|
|
509
|
+
market: DerivativeMarketSDKType;
|
|
510
|
+
perpetual_info?: PerpetualMarketStateSDKType;
|
|
511
|
+
futures_info?: ExpiryFuturesMarketInfoSDKType;
|
|
512
|
+
mark_price: string;
|
|
513
|
+
}
|
|
514
|
+
/** QueryDerivativeMarketsResponse is the response type for the Query/DerivativeMarkets RPC method. */
|
|
515
|
+
export interface QueryDerivativeMarketsResponse {
|
|
516
|
+
markets: FullDerivativeMarket[];
|
|
517
|
+
}
|
|
518
|
+
/** QueryDerivativeMarketsResponse is the response type for the Query/DerivativeMarkets RPC method. */
|
|
519
|
+
export interface QueryDerivativeMarketsResponseSDKType {
|
|
520
|
+
markets: FullDerivativeMarketSDKType[];
|
|
521
|
+
}
|
|
522
|
+
/** QueryDerivativeMarketRequest is the request type for the Query/DerivativeMarket RPC method. */
|
|
523
|
+
export interface QueryDerivativeMarketRequest {
|
|
524
|
+
/** Market ID for the market */
|
|
525
|
+
marketId: string;
|
|
526
|
+
}
|
|
527
|
+
/** QueryDerivativeMarketRequest is the request type for the Query/DerivativeMarket RPC method. */
|
|
528
|
+
export interface QueryDerivativeMarketRequestSDKType {
|
|
529
|
+
/** Market ID for the market */
|
|
530
|
+
market_id: string;
|
|
531
|
+
}
|
|
532
|
+
/** QueryDerivativeMarketResponse is the response type for the Query/DerivativeMarket RPC method. */
|
|
533
|
+
export interface QueryDerivativeMarketResponse {
|
|
534
|
+
market: FullDerivativeMarket;
|
|
535
|
+
}
|
|
536
|
+
/** QueryDerivativeMarketResponse is the response type for the Query/DerivativeMarket RPC method. */
|
|
537
|
+
export interface QueryDerivativeMarketResponseSDKType {
|
|
538
|
+
market: FullDerivativeMarketSDKType;
|
|
539
|
+
}
|
|
540
|
+
/** QueryDerivativeMarketAddressRequest is the request type for the Query/DerivativeMarketAddress RPC method. */
|
|
541
|
+
export interface QueryDerivativeMarketAddressRequest {
|
|
542
|
+
/** Market ID for the market */
|
|
543
|
+
marketId: string;
|
|
544
|
+
}
|
|
545
|
+
/** QueryDerivativeMarketAddressRequest is the request type for the Query/DerivativeMarketAddress RPC method. */
|
|
546
|
+
export interface QueryDerivativeMarketAddressRequestSDKType {
|
|
547
|
+
/** Market ID for the market */
|
|
548
|
+
market_id: string;
|
|
549
|
+
}
|
|
550
|
+
/** QueryDerivativeMarketAddressResponse is the response type for the Query/DerivativeMarketAddress RPC method. */
|
|
551
|
+
export interface QueryDerivativeMarketAddressResponse {
|
|
552
|
+
/** address for the market */
|
|
553
|
+
address: string;
|
|
554
|
+
/** subaccountID for the market */
|
|
555
|
+
subaccountId: string;
|
|
556
|
+
}
|
|
557
|
+
/** QueryDerivativeMarketAddressResponse is the response type for the Query/DerivativeMarketAddress RPC method. */
|
|
558
|
+
export interface QueryDerivativeMarketAddressResponseSDKType {
|
|
559
|
+
/** address for the market */
|
|
560
|
+
address: string;
|
|
561
|
+
/** subaccountID for the market */
|
|
562
|
+
subaccount_id: string;
|
|
563
|
+
}
|
|
564
|
+
/** QuerySubaccountTradeNonceRequest is the request type for the Query/SubaccountTradeNonce RPC method. */
|
|
565
|
+
export interface QuerySubaccountTradeNonceRequest {
|
|
566
|
+
subaccountId: string;
|
|
567
|
+
}
|
|
568
|
+
/** QuerySubaccountTradeNonceRequest is the request type for the Query/SubaccountTradeNonce RPC method. */
|
|
569
|
+
export interface QuerySubaccountTradeNonceRequestSDKType {
|
|
570
|
+
subaccount_id: string;
|
|
571
|
+
}
|
|
572
|
+
/** QuerySubaccountPositionsRequest is the request type for the Query/SubaccountPositions RPC method. */
|
|
573
|
+
export interface QuerySubaccountPositionsRequest {
|
|
574
|
+
subaccountId: string;
|
|
575
|
+
}
|
|
576
|
+
/** QuerySubaccountPositionsRequest is the request type for the Query/SubaccountPositions RPC method. */
|
|
577
|
+
export interface QuerySubaccountPositionsRequestSDKType {
|
|
578
|
+
subaccount_id: string;
|
|
579
|
+
}
|
|
580
|
+
/** QuerySubaccountPositionInMarketRequest is the request type for the Query/SubaccountPositionInMarket RPC method. */
|
|
581
|
+
export interface QuerySubaccountPositionInMarketRequest {
|
|
582
|
+
subaccountId: string;
|
|
583
|
+
marketId: string;
|
|
584
|
+
}
|
|
585
|
+
/** QuerySubaccountPositionInMarketRequest is the request type for the Query/SubaccountPositionInMarket RPC method. */
|
|
586
|
+
export interface QuerySubaccountPositionInMarketRequestSDKType {
|
|
587
|
+
subaccount_id: string;
|
|
588
|
+
market_id: string;
|
|
589
|
+
}
|
|
590
|
+
/** QuerySubaccountEffectivePositionInMarketRequest is the request type for the Query/SubaccountEffectivePositionInMarket RPC method. */
|
|
591
|
+
export interface QuerySubaccountEffectivePositionInMarketRequest {
|
|
592
|
+
subaccountId: string;
|
|
593
|
+
marketId: string;
|
|
594
|
+
}
|
|
595
|
+
/** QuerySubaccountEffectivePositionInMarketRequest is the request type for the Query/SubaccountEffectivePositionInMarket RPC method. */
|
|
596
|
+
export interface QuerySubaccountEffectivePositionInMarketRequestSDKType {
|
|
597
|
+
subaccount_id: string;
|
|
598
|
+
market_id: string;
|
|
599
|
+
}
|
|
600
|
+
/** QuerySubaccountOrderMetadataRequest is the request type for the Query/SubaccountOrderMetadata RPC method. */
|
|
601
|
+
export interface QuerySubaccountOrderMetadataRequest {
|
|
602
|
+
subaccountId: string;
|
|
603
|
+
}
|
|
604
|
+
/** QuerySubaccountOrderMetadataRequest is the request type for the Query/SubaccountOrderMetadata RPC method. */
|
|
605
|
+
export interface QuerySubaccountOrderMetadataRequestSDKType {
|
|
606
|
+
subaccount_id: string;
|
|
607
|
+
}
|
|
608
|
+
/** QuerySubaccountPositionsResponse is the response type for the Query/SubaccountPositions RPC method. */
|
|
609
|
+
export interface QuerySubaccountPositionsResponse {
|
|
610
|
+
state: DerivativePosition[];
|
|
611
|
+
}
|
|
612
|
+
/** QuerySubaccountPositionsResponse is the response type for the Query/SubaccountPositions RPC method. */
|
|
613
|
+
export interface QuerySubaccountPositionsResponseSDKType {
|
|
614
|
+
state: DerivativePositionSDKType[];
|
|
615
|
+
}
|
|
616
|
+
/** QuerySubaccountPositionInMarketResponse is the response type for the Query/SubaccountPositionInMarket RPC method. */
|
|
617
|
+
export interface QuerySubaccountPositionInMarketResponse {
|
|
618
|
+
state?: Position;
|
|
619
|
+
}
|
|
620
|
+
/** QuerySubaccountPositionInMarketResponse is the response type for the Query/SubaccountPositionInMarket RPC method. */
|
|
621
|
+
export interface QuerySubaccountPositionInMarketResponseSDKType {
|
|
622
|
+
state?: PositionSDKType;
|
|
623
|
+
}
|
|
624
|
+
export interface EffectivePosition {
|
|
625
|
+
isLong: boolean;
|
|
626
|
+
quantity: string;
|
|
627
|
+
entryPrice: string;
|
|
628
|
+
effectiveMargin: string;
|
|
629
|
+
}
|
|
630
|
+
export interface EffectivePositionSDKType {
|
|
631
|
+
is_long: boolean;
|
|
632
|
+
quantity: string;
|
|
633
|
+
entry_price: string;
|
|
634
|
+
effective_margin: string;
|
|
635
|
+
}
|
|
636
|
+
/** QuerySubaccountEffectivePositionInMarketResponse is the response type for the Query/SubaccountEffectivePositionInMarket RPC method. */
|
|
637
|
+
export interface QuerySubaccountEffectivePositionInMarketResponse {
|
|
638
|
+
state?: EffectivePosition;
|
|
639
|
+
}
|
|
640
|
+
/** QuerySubaccountEffectivePositionInMarketResponse is the response type for the Query/SubaccountEffectivePositionInMarket RPC method. */
|
|
641
|
+
export interface QuerySubaccountEffectivePositionInMarketResponseSDKType {
|
|
642
|
+
state?: EffectivePositionSDKType;
|
|
643
|
+
}
|
|
644
|
+
/** QueryPerpetualMarketInfoRequest is the request type for the Query/PerpetualMarketInfo RPC method. */
|
|
645
|
+
export interface QueryPerpetualMarketInfoRequest {
|
|
646
|
+
marketId: string;
|
|
647
|
+
}
|
|
648
|
+
/** QueryPerpetualMarketInfoRequest is the request type for the Query/PerpetualMarketInfo RPC method. */
|
|
649
|
+
export interface QueryPerpetualMarketInfoRequestSDKType {
|
|
650
|
+
market_id: string;
|
|
651
|
+
}
|
|
652
|
+
/** QueryPerpetualMarketInfoResponse is the response type for the Query/PerpetualMarketInfo RPC method. */
|
|
653
|
+
export interface QueryPerpetualMarketInfoResponse {
|
|
654
|
+
info: PerpetualMarketInfo;
|
|
655
|
+
}
|
|
656
|
+
/** QueryPerpetualMarketInfoResponse is the response type for the Query/PerpetualMarketInfo RPC method. */
|
|
657
|
+
export interface QueryPerpetualMarketInfoResponseSDKType {
|
|
658
|
+
info: PerpetualMarketInfoSDKType;
|
|
659
|
+
}
|
|
660
|
+
/** QueryExpiryFuturesMarketInfoRequest is the request type for the Query/ ExpiryFuturesMarketInfo RPC method. */
|
|
661
|
+
export interface QueryExpiryFuturesMarketInfoRequest {
|
|
662
|
+
marketId: string;
|
|
663
|
+
}
|
|
664
|
+
/** QueryExpiryFuturesMarketInfoRequest is the request type for the Query/ ExpiryFuturesMarketInfo RPC method. */
|
|
665
|
+
export interface QueryExpiryFuturesMarketInfoRequestSDKType {
|
|
666
|
+
market_id: string;
|
|
667
|
+
}
|
|
668
|
+
/** QueryExpiryFuturesMarketInfoResponse is the response type for the Query/ ExpiryFuturesMarketInfo RPC method. */
|
|
669
|
+
export interface QueryExpiryFuturesMarketInfoResponse {
|
|
670
|
+
info: ExpiryFuturesMarketInfo;
|
|
671
|
+
}
|
|
672
|
+
/** QueryExpiryFuturesMarketInfoResponse is the response type for the Query/ ExpiryFuturesMarketInfo RPC method. */
|
|
673
|
+
export interface QueryExpiryFuturesMarketInfoResponseSDKType {
|
|
674
|
+
info: ExpiryFuturesMarketInfoSDKType;
|
|
675
|
+
}
|
|
676
|
+
/** QueryPerpetualMarketFundingRequest is the request type for the Query/PerpetualMarketFunding RPC method. */
|
|
677
|
+
export interface QueryPerpetualMarketFundingRequest {
|
|
678
|
+
marketId: string;
|
|
679
|
+
}
|
|
680
|
+
/** QueryPerpetualMarketFundingRequest is the request type for the Query/PerpetualMarketFunding RPC method. */
|
|
681
|
+
export interface QueryPerpetualMarketFundingRequestSDKType {
|
|
682
|
+
market_id: string;
|
|
683
|
+
}
|
|
684
|
+
/** QueryPerpetualMarketFundingResponse is the response type for the Query/PerpetualMarketFunding RPC method. */
|
|
685
|
+
export interface QueryPerpetualMarketFundingResponse {
|
|
686
|
+
state: PerpetualMarketFunding;
|
|
687
|
+
}
|
|
688
|
+
/** QueryPerpetualMarketFundingResponse is the response type for the Query/PerpetualMarketFunding RPC method. */
|
|
689
|
+
export interface QueryPerpetualMarketFundingResponseSDKType {
|
|
690
|
+
state: PerpetualMarketFundingSDKType;
|
|
691
|
+
}
|
|
692
|
+
/** QuerySubaccountOrderMetadataResponse is the response type for the Query/SubaccountOrderMetadata RPC method. */
|
|
693
|
+
export interface QuerySubaccountOrderMetadataResponse {
|
|
694
|
+
metadata: SubaccountOrderbookMetadataWithMarket[];
|
|
695
|
+
}
|
|
696
|
+
/** QuerySubaccountOrderMetadataResponse is the response type for the Query/SubaccountOrderMetadata RPC method. */
|
|
697
|
+
export interface QuerySubaccountOrderMetadataResponseSDKType {
|
|
698
|
+
metadata: SubaccountOrderbookMetadataWithMarketSDKType[];
|
|
699
|
+
}
|
|
700
|
+
/** QuerySubaccountTradeNonceResponse is the response type for the Query/SubaccountTradeNonce RPC method. */
|
|
701
|
+
export interface QuerySubaccountTradeNonceResponse {
|
|
702
|
+
nonce: number;
|
|
703
|
+
}
|
|
704
|
+
/** QuerySubaccountTradeNonceResponse is the response type for the Query/SubaccountTradeNonce RPC method. */
|
|
705
|
+
export interface QuerySubaccountTradeNonceResponseSDKType {
|
|
706
|
+
nonce: number;
|
|
707
|
+
}
|
|
708
|
+
/** QueryModuleStateRequest is the request type for the Query/ExchangeModuleState RPC method. */
|
|
709
|
+
export interface QueryModuleStateRequest {
|
|
710
|
+
}
|
|
711
|
+
/** QueryModuleStateRequest is the request type for the Query/ExchangeModuleState RPC method. */
|
|
712
|
+
export interface QueryModuleStateRequestSDKType {
|
|
713
|
+
}
|
|
714
|
+
/** QueryModuleStateResponse is the response type for the Query/ExchangeModuleState RPC method. */
|
|
715
|
+
export interface QueryModuleStateResponse {
|
|
716
|
+
state: GenesisState;
|
|
717
|
+
}
|
|
718
|
+
/** QueryModuleStateResponse is the response type for the Query/ExchangeModuleState RPC method. */
|
|
719
|
+
export interface QueryModuleStateResponseSDKType {
|
|
720
|
+
state: GenesisStateSDKType;
|
|
721
|
+
}
|
|
722
|
+
/** QueryPositionsRequest is the request type for the Query/Positions RPC method. */
|
|
723
|
+
export interface QueryPositionsRequest {
|
|
724
|
+
}
|
|
725
|
+
/** QueryPositionsRequest is the request type for the Query/Positions RPC method. */
|
|
726
|
+
export interface QueryPositionsRequestSDKType {
|
|
727
|
+
}
|
|
728
|
+
/** QueryPositionsResponse is the response type for the Query/Positions RPC method. */
|
|
729
|
+
export interface QueryPositionsResponse {
|
|
730
|
+
state: DerivativePosition[];
|
|
731
|
+
}
|
|
732
|
+
/** QueryPositionsResponse is the response type for the Query/Positions RPC method. */
|
|
733
|
+
export interface QueryPositionsResponseSDKType {
|
|
734
|
+
state: DerivativePositionSDKType[];
|
|
735
|
+
}
|
|
736
|
+
/** QueryTradeRewardPointsRequest is the request type for the Query/TradeRewardPoints RPC method. */
|
|
737
|
+
export interface QueryTradeRewardPointsRequest {
|
|
738
|
+
accounts?: string[];
|
|
739
|
+
pendingPoolTimestamp?: Long;
|
|
740
|
+
}
|
|
741
|
+
/** QueryTradeRewardPointsRequest is the request type for the Query/TradeRewardPoints RPC method. */
|
|
742
|
+
export interface QueryTradeRewardPointsRequestSDKType {
|
|
743
|
+
accounts?: string[];
|
|
744
|
+
pending_pool_timestamp?: Long;
|
|
745
|
+
}
|
|
746
|
+
/** QueryTradeRewardPointsResponse is the response type for the Query/TradeRewardPoints RPC method. */
|
|
747
|
+
export interface QueryTradeRewardPointsResponse {
|
|
748
|
+
accountTradeRewardPoints: string[];
|
|
749
|
+
}
|
|
750
|
+
/** QueryTradeRewardPointsResponse is the response type for the Query/TradeRewardPoints RPC method. */
|
|
751
|
+
export interface QueryTradeRewardPointsResponseSDKType {
|
|
752
|
+
account_trade_reward_points: string[];
|
|
753
|
+
}
|
|
754
|
+
/** QueryTradeRewardCampaignRequest is the request type for the Query/TradeRewardCampaign RPC method. */
|
|
755
|
+
export interface QueryTradeRewardCampaignRequest {
|
|
756
|
+
}
|
|
757
|
+
/** QueryTradeRewardCampaignRequest is the request type for the Query/TradeRewardCampaign RPC method. */
|
|
758
|
+
export interface QueryTradeRewardCampaignRequestSDKType {
|
|
759
|
+
}
|
|
760
|
+
/** QueryTradeRewardCampaignResponse is the response type for the Query/TradeRewardCampaign RPC method. */
|
|
761
|
+
export interface QueryTradeRewardCampaignResponse {
|
|
762
|
+
tradingRewardCampaignInfo: TradingRewardCampaignInfo;
|
|
763
|
+
tradingRewardPoolCampaignSchedule: CampaignRewardPool[];
|
|
764
|
+
totalTradeRewardPoints: string;
|
|
765
|
+
pendingTradingRewardPoolCampaignSchedule: CampaignRewardPool[];
|
|
766
|
+
pendingTotalTradeRewardPoints: string[];
|
|
767
|
+
}
|
|
768
|
+
/** QueryTradeRewardCampaignResponse is the response type for the Query/TradeRewardCampaign RPC method. */
|
|
769
|
+
export interface QueryTradeRewardCampaignResponseSDKType {
|
|
770
|
+
trading_reward_campaign_info: TradingRewardCampaignInfoSDKType;
|
|
771
|
+
trading_reward_pool_campaign_schedule: CampaignRewardPoolSDKType[];
|
|
772
|
+
total_trade_reward_points: string;
|
|
773
|
+
pending_trading_reward_pool_campaign_schedule: CampaignRewardPoolSDKType[];
|
|
774
|
+
pending_total_trade_reward_points: string[];
|
|
775
|
+
}
|
|
776
|
+
/** QueryIsRegisteredDMMRequest is the request type for the Query/IsRegisteredDMM RPC method. */
|
|
777
|
+
export interface QueryIsOptedOutOfRewardsRequest {
|
|
778
|
+
account: string;
|
|
779
|
+
}
|
|
780
|
+
/** QueryIsRegisteredDMMRequest is the request type for the Query/IsRegisteredDMM RPC method. */
|
|
781
|
+
export interface QueryIsOptedOutOfRewardsRequestSDKType {
|
|
782
|
+
account: string;
|
|
783
|
+
}
|
|
784
|
+
/** QueryIsRegisteredDMMResponse is the response type for the Query/IsRegisteredDMM RPC method. */
|
|
785
|
+
export interface QueryIsOptedOutOfRewardsResponse {
|
|
786
|
+
isOptedOut: boolean;
|
|
787
|
+
}
|
|
788
|
+
/** QueryIsRegisteredDMMResponse is the response type for the Query/IsRegisteredDMM RPC method. */
|
|
789
|
+
export interface QueryIsOptedOutOfRewardsResponseSDKType {
|
|
790
|
+
is_opted_out: boolean;
|
|
791
|
+
}
|
|
792
|
+
/** QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs RPC method. */
|
|
793
|
+
export interface QueryOptedOutOfRewardsAccountsRequest {
|
|
794
|
+
}
|
|
795
|
+
/** QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs RPC method. */
|
|
796
|
+
export interface QueryOptedOutOfRewardsAccountsRequestSDKType {
|
|
797
|
+
}
|
|
798
|
+
/** QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs RPC method. */
|
|
799
|
+
export interface QueryOptedOutOfRewardsAccountsResponse {
|
|
800
|
+
accounts: string[];
|
|
801
|
+
}
|
|
802
|
+
/** QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs RPC method. */
|
|
803
|
+
export interface QueryOptedOutOfRewardsAccountsResponseSDKType {
|
|
804
|
+
accounts: string[];
|
|
805
|
+
}
|
|
806
|
+
/** QueryFeeDiscountAccountInfoRequest is the request type for the Query/FeeDiscountAccountInfo RPC method. */
|
|
807
|
+
export interface QueryFeeDiscountAccountInfoRequest {
|
|
808
|
+
account: string;
|
|
809
|
+
}
|
|
810
|
+
/** QueryFeeDiscountAccountInfoRequest is the request type for the Query/FeeDiscountAccountInfo RPC method. */
|
|
811
|
+
export interface QueryFeeDiscountAccountInfoRequestSDKType {
|
|
812
|
+
account: string;
|
|
813
|
+
}
|
|
814
|
+
/** QueryFeeDiscountAccountInfoResponse is the response type for the Query/FeeDiscountAccountInfo RPC method. */
|
|
815
|
+
export interface QueryFeeDiscountAccountInfoResponse {
|
|
816
|
+
tierLevel: Long;
|
|
817
|
+
accountInfo: FeeDiscountTierInfo;
|
|
818
|
+
accountTtl: FeeDiscountTierTTL;
|
|
819
|
+
}
|
|
820
|
+
/** QueryFeeDiscountAccountInfoResponse is the response type for the Query/FeeDiscountAccountInfo RPC method. */
|
|
821
|
+
export interface QueryFeeDiscountAccountInfoResponseSDKType {
|
|
822
|
+
tier_level: Long;
|
|
823
|
+
account_info: FeeDiscountTierInfoSDKType;
|
|
824
|
+
account_ttl: FeeDiscountTierTTLSDKType;
|
|
825
|
+
}
|
|
826
|
+
/** QueryFeeDiscountScheduleRequest is the request type for the Query/FeeDiscountSchedule RPC method. */
|
|
827
|
+
export interface QueryFeeDiscountScheduleRequest {
|
|
828
|
+
}
|
|
829
|
+
/** QueryFeeDiscountScheduleRequest is the request type for the Query/FeeDiscountSchedule RPC method. */
|
|
830
|
+
export interface QueryFeeDiscountScheduleRequestSDKType {
|
|
831
|
+
}
|
|
832
|
+
/** QueryFeeDiscountScheduleResponse is the response type for the Query/FeeDiscountSchedule RPC method. */
|
|
833
|
+
export interface QueryFeeDiscountScheduleResponse {
|
|
834
|
+
feeDiscountSchedule: FeeDiscountSchedule;
|
|
835
|
+
}
|
|
836
|
+
/** QueryFeeDiscountScheduleResponse is the response type for the Query/FeeDiscountSchedule RPC method. */
|
|
837
|
+
export interface QueryFeeDiscountScheduleResponseSDKType {
|
|
838
|
+
fee_discount_schedule: FeeDiscountScheduleSDKType;
|
|
839
|
+
}
|
|
840
|
+
/** QueryBalanceMismatchesRequest is the request type for the Query/QueryBalanceMismatches RPC method. */
|
|
841
|
+
export interface QueryBalanceMismatchesRequest {
|
|
842
|
+
dustFactor: Long;
|
|
843
|
+
}
|
|
844
|
+
/** QueryBalanceMismatchesRequest is the request type for the Query/QueryBalanceMismatches RPC method. */
|
|
845
|
+
export interface QueryBalanceMismatchesRequestSDKType {
|
|
846
|
+
dust_factor: Long;
|
|
847
|
+
}
|
|
848
|
+
export interface BalanceMismatch {
|
|
849
|
+
subaccountId: string;
|
|
850
|
+
denom: string;
|
|
851
|
+
available: string;
|
|
852
|
+
total: string;
|
|
853
|
+
balanceHold: string;
|
|
854
|
+
expectedTotal: string;
|
|
855
|
+
difference: string;
|
|
856
|
+
}
|
|
857
|
+
export interface BalanceMismatchSDKType {
|
|
858
|
+
subaccountId: string;
|
|
859
|
+
denom: string;
|
|
860
|
+
available: string;
|
|
861
|
+
total: string;
|
|
862
|
+
balance_hold: string;
|
|
863
|
+
expected_total: string;
|
|
864
|
+
difference: string;
|
|
865
|
+
}
|
|
866
|
+
/** QueryBalanceMismatchesResponse is the response type for the Query/QueryBalanceMismatches RPC method. */
|
|
867
|
+
export interface QueryBalanceMismatchesResponse {
|
|
868
|
+
balanceMismatches: BalanceMismatch[];
|
|
869
|
+
}
|
|
870
|
+
/** QueryBalanceMismatchesResponse is the response type for the Query/QueryBalanceMismatches RPC method. */
|
|
871
|
+
export interface QueryBalanceMismatchesResponseSDKType {
|
|
872
|
+
balance_mismatches: BalanceMismatchSDKType[];
|
|
873
|
+
}
|
|
874
|
+
/** QueryBalanceWithBalanceHoldsRequest is the request type for the Query/QueryBalanceWithBalanceHolds RPC method. */
|
|
875
|
+
export interface QueryBalanceWithBalanceHoldsRequest {
|
|
876
|
+
}
|
|
877
|
+
/** QueryBalanceWithBalanceHoldsRequest is the request type for the Query/QueryBalanceWithBalanceHolds RPC method. */
|
|
878
|
+
export interface QueryBalanceWithBalanceHoldsRequestSDKType {
|
|
879
|
+
}
|
|
880
|
+
export interface BalanceWithMarginHold {
|
|
881
|
+
subaccountId: string;
|
|
882
|
+
denom: string;
|
|
883
|
+
available: string;
|
|
884
|
+
total: string;
|
|
885
|
+
balanceHold: string;
|
|
886
|
+
}
|
|
887
|
+
export interface BalanceWithMarginHoldSDKType {
|
|
888
|
+
subaccountId: string;
|
|
889
|
+
denom: string;
|
|
890
|
+
available: string;
|
|
891
|
+
total: string;
|
|
892
|
+
balance_hold: string;
|
|
893
|
+
}
|
|
894
|
+
/** QueryBalanceWithBalanceHoldsResponse is the response type for the Query/QueryBalanceWithBalanceHolds RPC method. */
|
|
895
|
+
export interface QueryBalanceWithBalanceHoldsResponse {
|
|
896
|
+
balanceWithBalanceHolds: BalanceWithMarginHold[];
|
|
897
|
+
}
|
|
898
|
+
/** QueryBalanceWithBalanceHoldsResponse is the response type for the Query/QueryBalanceWithBalanceHolds RPC method. */
|
|
899
|
+
export interface QueryBalanceWithBalanceHoldsResponseSDKType {
|
|
900
|
+
balance_with_balance_holds: BalanceWithMarginHoldSDKType[];
|
|
901
|
+
}
|
|
902
|
+
/** QueryFeeDiscountTierStatisticsRequest is the request type for the Query/QueryFeeDiscountTierStatistics RPC method. */
|
|
903
|
+
export interface QueryFeeDiscountTierStatisticsRequest {
|
|
904
|
+
}
|
|
905
|
+
/** QueryFeeDiscountTierStatisticsRequest is the request type for the Query/QueryFeeDiscountTierStatistics RPC method. */
|
|
906
|
+
export interface QueryFeeDiscountTierStatisticsRequestSDKType {
|
|
907
|
+
}
|
|
908
|
+
export interface TierStatistic {
|
|
909
|
+
tier: Long;
|
|
910
|
+
count: Long;
|
|
911
|
+
}
|
|
912
|
+
export interface TierStatisticSDKType {
|
|
913
|
+
tier: Long;
|
|
914
|
+
count: Long;
|
|
915
|
+
}
|
|
916
|
+
/** QueryFeeDiscountTierStatisticsResponse is the response type for the Query/QueryFeeDiscountTierStatistics RPC method. */
|
|
917
|
+
export interface QueryFeeDiscountTierStatisticsResponse {
|
|
918
|
+
statistics: TierStatistic[];
|
|
919
|
+
}
|
|
920
|
+
/** QueryFeeDiscountTierStatisticsResponse is the response type for the Query/QueryFeeDiscountTierStatistics RPC method. */
|
|
921
|
+
export interface QueryFeeDiscountTierStatisticsResponseSDKType {
|
|
922
|
+
statistics: TierStatisticSDKType[];
|
|
923
|
+
}
|
|
924
|
+
/** NinjaVaultInfosRequest is the request type for the Query/NinjaVaultInfos RPC method. */
|
|
925
|
+
export interface NinjaVaultInfosRequest {
|
|
926
|
+
}
|
|
927
|
+
/** NinjaVaultInfosRequest is the request type for the Query/NinjaVaultInfos RPC method. */
|
|
928
|
+
export interface NinjaVaultInfosRequestSDKType {
|
|
929
|
+
}
|
|
930
|
+
/** NinjaVaultInfosResponse is the response type for the Query/NinjaVaultInfos RPC method. */
|
|
931
|
+
export interface NinjaVaultInfosResponse {
|
|
932
|
+
masterAddresses: string[];
|
|
933
|
+
derivativeAddresses: string[];
|
|
934
|
+
spotAddresses: string[];
|
|
935
|
+
cw20Addresses: string[];
|
|
936
|
+
}
|
|
937
|
+
/** NinjaVaultInfosResponse is the response type for the Query/NinjaVaultInfos RPC method. */
|
|
938
|
+
export interface NinjaVaultInfosResponseSDKType {
|
|
939
|
+
master_addresses: string[];
|
|
940
|
+
derivative_addresses: string[];
|
|
941
|
+
spot_addresses: string[];
|
|
942
|
+
cw20_addresses: string[];
|
|
943
|
+
}
|
|
944
|
+
/** QueryMarketIDFromVaultRequest is the request type for the Query/QueryMarketIDFromVault RPC method. */
|
|
945
|
+
export interface QueryMarketIDFromVaultRequest {
|
|
946
|
+
vaultSubaccountId: string;
|
|
947
|
+
}
|
|
948
|
+
/** QueryMarketIDFromVaultRequest is the request type for the Query/QueryMarketIDFromVault RPC method. */
|
|
949
|
+
export interface QueryMarketIDFromVaultRequestSDKType {
|
|
950
|
+
vault_subaccount_id: string;
|
|
951
|
+
}
|
|
952
|
+
/** QueryMarketIDFromVaultResponse is the response type for the Query/QueryMarketIDFromVault RPC method. */
|
|
953
|
+
export interface QueryMarketIDFromVaultResponse {
|
|
954
|
+
marketId: string;
|
|
955
|
+
}
|
|
956
|
+
/** QueryMarketIDFromVaultResponse is the response type for the Query/QueryMarketIDFromVault RPC method. */
|
|
957
|
+
export interface QueryMarketIDFromVaultResponseSDKType {
|
|
958
|
+
market_id: string;
|
|
959
|
+
}
|
|
960
|
+
export interface QueryHistoricalTradeRecordsRequest {
|
|
961
|
+
marketId?: string;
|
|
962
|
+
}
|
|
963
|
+
export interface QueryHistoricalTradeRecordsRequestSDKType {
|
|
964
|
+
market_id?: string;
|
|
965
|
+
}
|
|
966
|
+
export interface QueryHistoricalTradeRecordsResponse {
|
|
967
|
+
tradeRecords: TradeRecords[];
|
|
968
|
+
}
|
|
969
|
+
export interface QueryHistoricalTradeRecordsResponseSDKType {
|
|
970
|
+
trade_records: TradeRecordsSDKType[];
|
|
971
|
+
}
|
|
972
|
+
/** TradeHistoryOptions are the optional params for Query/MarketVolatility RPC method. */
|
|
973
|
+
export interface TradeHistoryOptions {
|
|
974
|
+
/** TradeGroupingSec of 0 means use the chain's default grouping */
|
|
975
|
+
tradeGroupingSec: Long;
|
|
976
|
+
/**
|
|
977
|
+
* MaxAge restricts the trade records oldest age in seconds from the current block time to consider.
|
|
978
|
+
* A value of 0 means use all the records present on the chain.
|
|
979
|
+
*/
|
|
980
|
+
maxAge: Long;
|
|
981
|
+
/** If IncludeRawHistory is true, the raw underlying data used for the computation is included in the response */
|
|
982
|
+
includeRawHistory: boolean;
|
|
983
|
+
/** If IncludeMetadata is true, metadata on the computation is included in the response */
|
|
984
|
+
includeMetadata: boolean;
|
|
985
|
+
}
|
|
986
|
+
/** TradeHistoryOptions are the optional params for Query/MarketVolatility RPC method. */
|
|
987
|
+
export interface TradeHistoryOptionsSDKType {
|
|
988
|
+
/** TradeGroupingSec of 0 means use the chain's default grouping */
|
|
989
|
+
trade_grouping_sec: Long;
|
|
990
|
+
/**
|
|
991
|
+
* MaxAge restricts the trade records oldest age in seconds from the current block time to consider.
|
|
992
|
+
* A value of 0 means use all the records present on the chain.
|
|
993
|
+
*/
|
|
994
|
+
max_age: Long;
|
|
995
|
+
/** If IncludeRawHistory is true, the raw underlying data used for the computation is included in the response */
|
|
996
|
+
include_raw_history: boolean;
|
|
997
|
+
/** If IncludeMetadata is true, metadata on the computation is included in the response */
|
|
998
|
+
include_metadata: boolean;
|
|
999
|
+
}
|
|
1000
|
+
/** QueryMarketVolatilityRequest are the request params for the Query/MarketVolatility RPC method. */
|
|
1001
|
+
export interface QueryMarketVolatilityRequest {
|
|
1002
|
+
marketId: string;
|
|
1003
|
+
tradeHistoryOptions?: TradeHistoryOptions;
|
|
1004
|
+
}
|
|
1005
|
+
/** QueryMarketVolatilityRequest are the request params for the Query/MarketVolatility RPC method. */
|
|
1006
|
+
export interface QueryMarketVolatilityRequestSDKType {
|
|
1007
|
+
market_id: string;
|
|
1008
|
+
trade_history_options?: TradeHistoryOptionsSDKType;
|
|
1009
|
+
}
|
|
1010
|
+
/** QueryMarketVolatilityResponse is the response type for the Query/MarketVolatility RPC method. */
|
|
1011
|
+
export interface QueryMarketVolatilityResponse {
|
|
1012
|
+
volatility: string;
|
|
1013
|
+
historyMetadata: MetadataStatistics;
|
|
1014
|
+
rawHistory: TradeRecord[];
|
|
1015
|
+
}
|
|
1016
|
+
/** QueryMarketVolatilityResponse is the response type for the Query/MarketVolatility RPC method. */
|
|
1017
|
+
export interface QueryMarketVolatilityResponseSDKType {
|
|
1018
|
+
volatility: string;
|
|
1019
|
+
history_metadata: MetadataStatisticsSDKType;
|
|
1020
|
+
raw_history: TradeRecordSDKType[];
|
|
1021
|
+
}
|
|
1022
|
+
/** QuerBinaryMarketsRequest is the request type for the Query/BinaryMarkets RPC method. */
|
|
1023
|
+
export interface QueryBinaryMarketsRequest {
|
|
1024
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
1025
|
+
status?: string;
|
|
1026
|
+
}
|
|
1027
|
+
/** QuerBinaryMarketsRequest is the request type for the Query/BinaryMarkets RPC method. */
|
|
1028
|
+
export interface QueryBinaryMarketsRequestSDKType {
|
|
1029
|
+
/** Status of the market, for convenience it is set to string - not enum */
|
|
1030
|
+
status?: string;
|
|
1031
|
+
}
|
|
1032
|
+
/** QueryBinaryMarketsResponse is the response type for the Query/BinaryMarkets RPC method. */
|
|
1033
|
+
export interface QueryBinaryMarketsResponse {
|
|
1034
|
+
markets: BinaryOptionsMarket[];
|
|
1035
|
+
}
|
|
1036
|
+
/** QueryBinaryMarketsResponse is the response type for the Query/BinaryMarkets RPC method. */
|
|
1037
|
+
export interface QueryBinaryMarketsResponseSDKType {
|
|
1038
|
+
markets: BinaryOptionsMarketSDKType[];
|
|
1039
|
+
}
|
|
1040
|
+
/** QueryConditionalOrdersRequest is the request type for the Query/ConditionalOrders RPC method. */
|
|
1041
|
+
export interface QueryTraderDerivativeConditionalOrdersRequest {
|
|
1042
|
+
subaccountId: string;
|
|
1043
|
+
marketId: string;
|
|
1044
|
+
}
|
|
1045
|
+
/** QueryConditionalOrdersRequest is the request type for the Query/ConditionalOrders RPC method. */
|
|
1046
|
+
export interface QueryTraderDerivativeConditionalOrdersRequestSDKType {
|
|
1047
|
+
subaccount_id: string;
|
|
1048
|
+
market_id: string;
|
|
1049
|
+
}
|
|
1050
|
+
export interface TrimmedDerivativeConditionalOrder {
|
|
1051
|
+
/** price of the order */
|
|
1052
|
+
price: string;
|
|
1053
|
+
/** quantity of the order */
|
|
1054
|
+
quantity: string;
|
|
1055
|
+
/** margin of the order */
|
|
1056
|
+
margin: string;
|
|
1057
|
+
/** price to trigger the order */
|
|
1058
|
+
triggerPrice: string;
|
|
1059
|
+
/** true if the order is a buy */
|
|
1060
|
+
isBuy: boolean;
|
|
1061
|
+
isLimit: boolean;
|
|
1062
|
+
orderHash: string;
|
|
1063
|
+
}
|
|
1064
|
+
export interface TrimmedDerivativeConditionalOrderSDKType {
|
|
1065
|
+
/** price of the order */
|
|
1066
|
+
price: string;
|
|
1067
|
+
/** quantity of the order */
|
|
1068
|
+
quantity: string;
|
|
1069
|
+
/** margin of the order */
|
|
1070
|
+
margin: string;
|
|
1071
|
+
/** price to trigger the order */
|
|
1072
|
+
triggerPrice: string;
|
|
1073
|
+
/** true if the order is a buy */
|
|
1074
|
+
isBuy: boolean;
|
|
1075
|
+
isLimit: boolean;
|
|
1076
|
+
order_hash: string;
|
|
1077
|
+
}
|
|
1078
|
+
/** QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method. */
|
|
1079
|
+
export interface QueryTraderDerivativeConditionalOrdersResponse {
|
|
1080
|
+
orders: TrimmedDerivativeConditionalOrder[];
|
|
1081
|
+
}
|
|
1082
|
+
/** QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method. */
|
|
1083
|
+
export interface QueryTraderDerivativeConditionalOrdersResponseSDKType {
|
|
1084
|
+
orders: TrimmedDerivativeConditionalOrderSDKType[];
|
|
1085
|
+
}
|
|
1086
|
+
export declare const Subaccount: {
|
|
1087
|
+
encode(message: Subaccount, writer?: _m0.Writer): _m0.Writer;
|
|
1088
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Subaccount;
|
|
1089
|
+
fromPartial(object: DeepPartial<Subaccount>): Subaccount;
|
|
1090
|
+
};
|
|
1091
|
+
export declare const QuerySubaccountOrdersRequest: {
|
|
1092
|
+
encode(message: QuerySubaccountOrdersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1093
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountOrdersRequest;
|
|
1094
|
+
fromPartial(object: DeepPartial<QuerySubaccountOrdersRequest>): QuerySubaccountOrdersRequest;
|
|
1095
|
+
};
|
|
1096
|
+
export declare const QuerySubaccountOrdersResponse: {
|
|
1097
|
+
encode(message: QuerySubaccountOrdersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1098
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountOrdersResponse;
|
|
1099
|
+
fromPartial(object: DeepPartial<QuerySubaccountOrdersResponse>): QuerySubaccountOrdersResponse;
|
|
1100
|
+
};
|
|
1101
|
+
export declare const SubaccountOrderbookMetadataWithMarket: {
|
|
1102
|
+
encode(message: SubaccountOrderbookMetadataWithMarket, writer?: _m0.Writer): _m0.Writer;
|
|
1103
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SubaccountOrderbookMetadataWithMarket;
|
|
1104
|
+
fromPartial(object: DeepPartial<SubaccountOrderbookMetadataWithMarket>): SubaccountOrderbookMetadataWithMarket;
|
|
1105
|
+
};
|
|
1106
|
+
export declare const QueryExchangeParamsRequest: {
|
|
1107
|
+
encode(_: QueryExchangeParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1108
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExchangeParamsRequest;
|
|
1109
|
+
fromPartial(_: DeepPartial<QueryExchangeParamsRequest>): QueryExchangeParamsRequest;
|
|
1110
|
+
};
|
|
1111
|
+
export declare const QueryExchangeParamsResponse: {
|
|
1112
|
+
encode(message: QueryExchangeParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1113
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExchangeParamsResponse;
|
|
1114
|
+
fromPartial(object: DeepPartial<QueryExchangeParamsResponse>): QueryExchangeParamsResponse;
|
|
1115
|
+
};
|
|
1116
|
+
export declare const QuerySubaccountDepositsRequest: {
|
|
1117
|
+
encode(message: QuerySubaccountDepositsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1118
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountDepositsRequest;
|
|
1119
|
+
fromPartial(object: DeepPartial<QuerySubaccountDepositsRequest>): QuerySubaccountDepositsRequest;
|
|
1120
|
+
};
|
|
1121
|
+
export declare const QuerySubaccountDepositsResponse_DepositsEntry: {
|
|
1122
|
+
encode(message: QuerySubaccountDepositsResponse_DepositsEntry, writer?: _m0.Writer): _m0.Writer;
|
|
1123
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountDepositsResponse_DepositsEntry;
|
|
1124
|
+
fromPartial(object: DeepPartial<QuerySubaccountDepositsResponse_DepositsEntry>): QuerySubaccountDepositsResponse_DepositsEntry;
|
|
1125
|
+
};
|
|
1126
|
+
export declare const QuerySubaccountDepositsResponse: {
|
|
1127
|
+
encode(message: QuerySubaccountDepositsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1128
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountDepositsResponse;
|
|
1129
|
+
fromPartial(object: DeepPartial<QuerySubaccountDepositsResponse>): QuerySubaccountDepositsResponse;
|
|
1130
|
+
};
|
|
1131
|
+
export declare const QueryExchangeBalancesRequest: {
|
|
1132
|
+
encode(_: QueryExchangeBalancesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1133
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExchangeBalancesRequest;
|
|
1134
|
+
fromPartial(_: DeepPartial<QueryExchangeBalancesRequest>): QueryExchangeBalancesRequest;
|
|
1135
|
+
};
|
|
1136
|
+
export declare const QueryExchangeBalancesResponse: {
|
|
1137
|
+
encode(message: QueryExchangeBalancesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1138
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExchangeBalancesResponse;
|
|
1139
|
+
fromPartial(object: DeepPartial<QueryExchangeBalancesResponse>): QueryExchangeBalancesResponse;
|
|
1140
|
+
};
|
|
1141
|
+
export declare const QuerySubaccountDepositRequest: {
|
|
1142
|
+
encode(message: QuerySubaccountDepositRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1143
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountDepositRequest;
|
|
1144
|
+
fromPartial(object: DeepPartial<QuerySubaccountDepositRequest>): QuerySubaccountDepositRequest;
|
|
1145
|
+
};
|
|
1146
|
+
export declare const QuerySubaccountDepositResponse: {
|
|
1147
|
+
encode(message: QuerySubaccountDepositResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1148
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountDepositResponse;
|
|
1149
|
+
fromPartial(object: DeepPartial<QuerySubaccountDepositResponse>): QuerySubaccountDepositResponse;
|
|
1150
|
+
};
|
|
1151
|
+
export declare const QuerySpotMarketsRequest: {
|
|
1152
|
+
encode(message: QuerySpotMarketsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1153
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMarketsRequest;
|
|
1154
|
+
fromPartial(object: DeepPartial<QuerySpotMarketsRequest>): QuerySpotMarketsRequest;
|
|
1155
|
+
};
|
|
1156
|
+
export declare const QuerySpotMarketsResponse: {
|
|
1157
|
+
encode(message: QuerySpotMarketsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1158
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMarketsResponse;
|
|
1159
|
+
fromPartial(object: DeepPartial<QuerySpotMarketsResponse>): QuerySpotMarketsResponse;
|
|
1160
|
+
};
|
|
1161
|
+
export declare const QuerySpotMarketRequest: {
|
|
1162
|
+
encode(message: QuerySpotMarketRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1163
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMarketRequest;
|
|
1164
|
+
fromPartial(object: DeepPartial<QuerySpotMarketRequest>): QuerySpotMarketRequest;
|
|
1165
|
+
};
|
|
1166
|
+
export declare const QuerySpotMarketResponse: {
|
|
1167
|
+
encode(message: QuerySpotMarketResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1168
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMarketResponse;
|
|
1169
|
+
fromPartial(object: DeepPartial<QuerySpotMarketResponse>): QuerySpotMarketResponse;
|
|
1170
|
+
};
|
|
1171
|
+
export declare const QuerySpotOrderbookRequest: {
|
|
1172
|
+
encode(message: QuerySpotOrderbookRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1173
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotOrderbookRequest;
|
|
1174
|
+
fromPartial(object: DeepPartial<QuerySpotOrderbookRequest>): QuerySpotOrderbookRequest;
|
|
1175
|
+
};
|
|
1176
|
+
export declare const QuerySpotOrderbookResponse: {
|
|
1177
|
+
encode(message: QuerySpotOrderbookResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1178
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotOrderbookResponse;
|
|
1179
|
+
fromPartial(object: DeepPartial<QuerySpotOrderbookResponse>): QuerySpotOrderbookResponse;
|
|
1180
|
+
};
|
|
1181
|
+
export declare const QuerySpotOrdersByHashesRequest: {
|
|
1182
|
+
encode(message: QuerySpotOrdersByHashesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1183
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotOrdersByHashesRequest;
|
|
1184
|
+
fromPartial(object: DeepPartial<QuerySpotOrdersByHashesRequest>): QuerySpotOrdersByHashesRequest;
|
|
1185
|
+
};
|
|
1186
|
+
export declare const QuerySpotOrdersByHashesResponse: {
|
|
1187
|
+
encode(message: QuerySpotOrdersByHashesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1188
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotOrdersByHashesResponse;
|
|
1189
|
+
fromPartial(object: DeepPartial<QuerySpotOrdersByHashesResponse>): QuerySpotOrdersByHashesResponse;
|
|
1190
|
+
};
|
|
1191
|
+
export declare const QueryTraderSpotOrdersRequest: {
|
|
1192
|
+
encode(message: QueryTraderSpotOrdersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderSpotOrdersRequest;
|
|
1194
|
+
fromPartial(object: DeepPartial<QueryTraderSpotOrdersRequest>): QueryTraderSpotOrdersRequest;
|
|
1195
|
+
};
|
|
1196
|
+
export declare const TrimmedSpotLimitOrder: {
|
|
1197
|
+
encode(message: TrimmedSpotLimitOrder, writer?: _m0.Writer): _m0.Writer;
|
|
1198
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrimmedSpotLimitOrder;
|
|
1199
|
+
fromPartial(object: DeepPartial<TrimmedSpotLimitOrder>): TrimmedSpotLimitOrder;
|
|
1200
|
+
};
|
|
1201
|
+
export declare const QueryTraderSpotOrdersResponse: {
|
|
1202
|
+
encode(message: QueryTraderSpotOrdersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderSpotOrdersResponse;
|
|
1204
|
+
fromPartial(object: DeepPartial<QueryTraderSpotOrdersResponse>): QueryTraderSpotOrdersResponse;
|
|
1205
|
+
};
|
|
1206
|
+
export declare const QuerySpotMidPriceAndTOBRequest: {
|
|
1207
|
+
encode(message: QuerySpotMidPriceAndTOBRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1208
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMidPriceAndTOBRequest;
|
|
1209
|
+
fromPartial(object: DeepPartial<QuerySpotMidPriceAndTOBRequest>): QuerySpotMidPriceAndTOBRequest;
|
|
1210
|
+
};
|
|
1211
|
+
export declare const QuerySpotMidPriceAndTOBResponse: {
|
|
1212
|
+
encode(message: QuerySpotMidPriceAndTOBResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1213
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpotMidPriceAndTOBResponse;
|
|
1214
|
+
fromPartial(object: DeepPartial<QuerySpotMidPriceAndTOBResponse>): QuerySpotMidPriceAndTOBResponse;
|
|
1215
|
+
};
|
|
1216
|
+
export declare const QueryDerivativeMidPriceAndTOBRequest: {
|
|
1217
|
+
encode(message: QueryDerivativeMidPriceAndTOBRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMidPriceAndTOBRequest;
|
|
1219
|
+
fromPartial(object: DeepPartial<QueryDerivativeMidPriceAndTOBRequest>): QueryDerivativeMidPriceAndTOBRequest;
|
|
1220
|
+
};
|
|
1221
|
+
export declare const QueryDerivativeMidPriceAndTOBResponse: {
|
|
1222
|
+
encode(message: QueryDerivativeMidPriceAndTOBResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1223
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMidPriceAndTOBResponse;
|
|
1224
|
+
fromPartial(object: DeepPartial<QueryDerivativeMidPriceAndTOBResponse>): QueryDerivativeMidPriceAndTOBResponse;
|
|
1225
|
+
};
|
|
1226
|
+
export declare const QueryDerivativeOrderbookRequest: {
|
|
1227
|
+
encode(message: QueryDerivativeOrderbookRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1228
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeOrderbookRequest;
|
|
1229
|
+
fromPartial(object: DeepPartial<QueryDerivativeOrderbookRequest>): QueryDerivativeOrderbookRequest;
|
|
1230
|
+
};
|
|
1231
|
+
export declare const QueryDerivativeOrderbookResponse: {
|
|
1232
|
+
encode(message: QueryDerivativeOrderbookResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1233
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeOrderbookResponse;
|
|
1234
|
+
fromPartial(object: DeepPartial<QueryDerivativeOrderbookResponse>): QueryDerivativeOrderbookResponse;
|
|
1235
|
+
};
|
|
1236
|
+
export declare const QueryTraderSpotOrdersToCancelUpToAmountRequest: {
|
|
1237
|
+
encode(message: QueryTraderSpotOrdersToCancelUpToAmountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1238
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderSpotOrdersToCancelUpToAmountRequest;
|
|
1239
|
+
fromPartial(object: DeepPartial<QueryTraderSpotOrdersToCancelUpToAmountRequest>): QueryTraderSpotOrdersToCancelUpToAmountRequest;
|
|
1240
|
+
};
|
|
1241
|
+
export declare const QueryTraderDerivativeOrdersToCancelUpToAmountRequest: {
|
|
1242
|
+
encode(message: QueryTraderDerivativeOrdersToCancelUpToAmountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1243
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderDerivativeOrdersToCancelUpToAmountRequest;
|
|
1244
|
+
fromPartial(object: DeepPartial<QueryTraderDerivativeOrdersToCancelUpToAmountRequest>): QueryTraderDerivativeOrdersToCancelUpToAmountRequest;
|
|
1245
|
+
};
|
|
1246
|
+
export declare const QueryTraderDerivativeOrdersRequest: {
|
|
1247
|
+
encode(message: QueryTraderDerivativeOrdersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1248
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderDerivativeOrdersRequest;
|
|
1249
|
+
fromPartial(object: DeepPartial<QueryTraderDerivativeOrdersRequest>): QueryTraderDerivativeOrdersRequest;
|
|
1250
|
+
};
|
|
1251
|
+
export declare const TrimmedDerivativeLimitOrder: {
|
|
1252
|
+
encode(message: TrimmedDerivativeLimitOrder, writer?: _m0.Writer): _m0.Writer;
|
|
1253
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrimmedDerivativeLimitOrder;
|
|
1254
|
+
fromPartial(object: DeepPartial<TrimmedDerivativeLimitOrder>): TrimmedDerivativeLimitOrder;
|
|
1255
|
+
};
|
|
1256
|
+
export declare const QueryTraderDerivativeOrdersResponse: {
|
|
1257
|
+
encode(message: QueryTraderDerivativeOrdersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1258
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderDerivativeOrdersResponse;
|
|
1259
|
+
fromPartial(object: DeepPartial<QueryTraderDerivativeOrdersResponse>): QueryTraderDerivativeOrdersResponse;
|
|
1260
|
+
};
|
|
1261
|
+
export declare const QueryDerivativeOrdersByHashesRequest: {
|
|
1262
|
+
encode(message: QueryDerivativeOrdersByHashesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1263
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeOrdersByHashesRequest;
|
|
1264
|
+
fromPartial(object: DeepPartial<QueryDerivativeOrdersByHashesRequest>): QueryDerivativeOrdersByHashesRequest;
|
|
1265
|
+
};
|
|
1266
|
+
export declare const QueryDerivativeOrdersByHashesResponse: {
|
|
1267
|
+
encode(message: QueryDerivativeOrdersByHashesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1268
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeOrdersByHashesResponse;
|
|
1269
|
+
fromPartial(object: DeepPartial<QueryDerivativeOrdersByHashesResponse>): QueryDerivativeOrdersByHashesResponse;
|
|
1270
|
+
};
|
|
1271
|
+
export declare const QueryDerivativeMarketsRequest: {
|
|
1272
|
+
encode(message: QueryDerivativeMarketsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1273
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketsRequest;
|
|
1274
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketsRequest>): QueryDerivativeMarketsRequest;
|
|
1275
|
+
};
|
|
1276
|
+
export declare const PriceLevel: {
|
|
1277
|
+
encode(message: PriceLevel, writer?: _m0.Writer): _m0.Writer;
|
|
1278
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PriceLevel;
|
|
1279
|
+
fromPartial(object: DeepPartial<PriceLevel>): PriceLevel;
|
|
1280
|
+
};
|
|
1281
|
+
export declare const PerpetualMarketState: {
|
|
1282
|
+
encode(message: PerpetualMarketState, writer?: _m0.Writer): _m0.Writer;
|
|
1283
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PerpetualMarketState;
|
|
1284
|
+
fromPartial(object: DeepPartial<PerpetualMarketState>): PerpetualMarketState;
|
|
1285
|
+
};
|
|
1286
|
+
export declare const FullDerivativeMarket: {
|
|
1287
|
+
encode(message: FullDerivativeMarket, writer?: _m0.Writer): _m0.Writer;
|
|
1288
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FullDerivativeMarket;
|
|
1289
|
+
fromPartial(object: DeepPartial<FullDerivativeMarket>): FullDerivativeMarket;
|
|
1290
|
+
};
|
|
1291
|
+
export declare const QueryDerivativeMarketsResponse: {
|
|
1292
|
+
encode(message: QueryDerivativeMarketsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1293
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketsResponse;
|
|
1294
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketsResponse>): QueryDerivativeMarketsResponse;
|
|
1295
|
+
};
|
|
1296
|
+
export declare const QueryDerivativeMarketRequest: {
|
|
1297
|
+
encode(message: QueryDerivativeMarketRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1298
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketRequest;
|
|
1299
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketRequest>): QueryDerivativeMarketRequest;
|
|
1300
|
+
};
|
|
1301
|
+
export declare const QueryDerivativeMarketResponse: {
|
|
1302
|
+
encode(message: QueryDerivativeMarketResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1303
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketResponse;
|
|
1304
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketResponse>): QueryDerivativeMarketResponse;
|
|
1305
|
+
};
|
|
1306
|
+
export declare const QueryDerivativeMarketAddressRequest: {
|
|
1307
|
+
encode(message: QueryDerivativeMarketAddressRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1308
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketAddressRequest;
|
|
1309
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketAddressRequest>): QueryDerivativeMarketAddressRequest;
|
|
1310
|
+
};
|
|
1311
|
+
export declare const QueryDerivativeMarketAddressResponse: {
|
|
1312
|
+
encode(message: QueryDerivativeMarketAddressResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1313
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDerivativeMarketAddressResponse;
|
|
1314
|
+
fromPartial(object: DeepPartial<QueryDerivativeMarketAddressResponse>): QueryDerivativeMarketAddressResponse;
|
|
1315
|
+
};
|
|
1316
|
+
export declare const QuerySubaccountTradeNonceRequest: {
|
|
1317
|
+
encode(message: QuerySubaccountTradeNonceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1318
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountTradeNonceRequest;
|
|
1319
|
+
fromPartial(object: DeepPartial<QuerySubaccountTradeNonceRequest>): QuerySubaccountTradeNonceRequest;
|
|
1320
|
+
};
|
|
1321
|
+
export declare const QuerySubaccountPositionsRequest: {
|
|
1322
|
+
encode(message: QuerySubaccountPositionsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1323
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountPositionsRequest;
|
|
1324
|
+
fromPartial(object: DeepPartial<QuerySubaccountPositionsRequest>): QuerySubaccountPositionsRequest;
|
|
1325
|
+
};
|
|
1326
|
+
export declare const QuerySubaccountPositionInMarketRequest: {
|
|
1327
|
+
encode(message: QuerySubaccountPositionInMarketRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1328
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountPositionInMarketRequest;
|
|
1329
|
+
fromPartial(object: DeepPartial<QuerySubaccountPositionInMarketRequest>): QuerySubaccountPositionInMarketRequest;
|
|
1330
|
+
};
|
|
1331
|
+
export declare const QuerySubaccountEffectivePositionInMarketRequest: {
|
|
1332
|
+
encode(message: QuerySubaccountEffectivePositionInMarketRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1333
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountEffectivePositionInMarketRequest;
|
|
1334
|
+
fromPartial(object: DeepPartial<QuerySubaccountEffectivePositionInMarketRequest>): QuerySubaccountEffectivePositionInMarketRequest;
|
|
1335
|
+
};
|
|
1336
|
+
export declare const QuerySubaccountOrderMetadataRequest: {
|
|
1337
|
+
encode(message: QuerySubaccountOrderMetadataRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1338
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountOrderMetadataRequest;
|
|
1339
|
+
fromPartial(object: DeepPartial<QuerySubaccountOrderMetadataRequest>): QuerySubaccountOrderMetadataRequest;
|
|
1340
|
+
};
|
|
1341
|
+
export declare const QuerySubaccountPositionsResponse: {
|
|
1342
|
+
encode(message: QuerySubaccountPositionsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1343
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountPositionsResponse;
|
|
1344
|
+
fromPartial(object: DeepPartial<QuerySubaccountPositionsResponse>): QuerySubaccountPositionsResponse;
|
|
1345
|
+
};
|
|
1346
|
+
export declare const QuerySubaccountPositionInMarketResponse: {
|
|
1347
|
+
encode(message: QuerySubaccountPositionInMarketResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1348
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountPositionInMarketResponse;
|
|
1349
|
+
fromPartial(object: DeepPartial<QuerySubaccountPositionInMarketResponse>): QuerySubaccountPositionInMarketResponse;
|
|
1350
|
+
};
|
|
1351
|
+
export declare const EffectivePosition: {
|
|
1352
|
+
encode(message: EffectivePosition, writer?: _m0.Writer): _m0.Writer;
|
|
1353
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EffectivePosition;
|
|
1354
|
+
fromPartial(object: DeepPartial<EffectivePosition>): EffectivePosition;
|
|
1355
|
+
};
|
|
1356
|
+
export declare const QuerySubaccountEffectivePositionInMarketResponse: {
|
|
1357
|
+
encode(message: QuerySubaccountEffectivePositionInMarketResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1358
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountEffectivePositionInMarketResponse;
|
|
1359
|
+
fromPartial(object: DeepPartial<QuerySubaccountEffectivePositionInMarketResponse>): QuerySubaccountEffectivePositionInMarketResponse;
|
|
1360
|
+
};
|
|
1361
|
+
export declare const QueryPerpetualMarketInfoRequest: {
|
|
1362
|
+
encode(message: QueryPerpetualMarketInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1363
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPerpetualMarketInfoRequest;
|
|
1364
|
+
fromPartial(object: DeepPartial<QueryPerpetualMarketInfoRequest>): QueryPerpetualMarketInfoRequest;
|
|
1365
|
+
};
|
|
1366
|
+
export declare const QueryPerpetualMarketInfoResponse: {
|
|
1367
|
+
encode(message: QueryPerpetualMarketInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1368
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPerpetualMarketInfoResponse;
|
|
1369
|
+
fromPartial(object: DeepPartial<QueryPerpetualMarketInfoResponse>): QueryPerpetualMarketInfoResponse;
|
|
1370
|
+
};
|
|
1371
|
+
export declare const QueryExpiryFuturesMarketInfoRequest: {
|
|
1372
|
+
encode(message: QueryExpiryFuturesMarketInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1373
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExpiryFuturesMarketInfoRequest;
|
|
1374
|
+
fromPartial(object: DeepPartial<QueryExpiryFuturesMarketInfoRequest>): QueryExpiryFuturesMarketInfoRequest;
|
|
1375
|
+
};
|
|
1376
|
+
export declare const QueryExpiryFuturesMarketInfoResponse: {
|
|
1377
|
+
encode(message: QueryExpiryFuturesMarketInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1378
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryExpiryFuturesMarketInfoResponse;
|
|
1379
|
+
fromPartial(object: DeepPartial<QueryExpiryFuturesMarketInfoResponse>): QueryExpiryFuturesMarketInfoResponse;
|
|
1380
|
+
};
|
|
1381
|
+
export declare const QueryPerpetualMarketFundingRequest: {
|
|
1382
|
+
encode(message: QueryPerpetualMarketFundingRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1383
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPerpetualMarketFundingRequest;
|
|
1384
|
+
fromPartial(object: DeepPartial<QueryPerpetualMarketFundingRequest>): QueryPerpetualMarketFundingRequest;
|
|
1385
|
+
};
|
|
1386
|
+
export declare const QueryPerpetualMarketFundingResponse: {
|
|
1387
|
+
encode(message: QueryPerpetualMarketFundingResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1388
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPerpetualMarketFundingResponse;
|
|
1389
|
+
fromPartial(object: DeepPartial<QueryPerpetualMarketFundingResponse>): QueryPerpetualMarketFundingResponse;
|
|
1390
|
+
};
|
|
1391
|
+
export declare const QuerySubaccountOrderMetadataResponse: {
|
|
1392
|
+
encode(message: QuerySubaccountOrderMetadataResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1393
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountOrderMetadataResponse;
|
|
1394
|
+
fromPartial(object: DeepPartial<QuerySubaccountOrderMetadataResponse>): QuerySubaccountOrderMetadataResponse;
|
|
1395
|
+
};
|
|
1396
|
+
export declare const QuerySubaccountTradeNonceResponse: {
|
|
1397
|
+
encode(message: QuerySubaccountTradeNonceResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1398
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubaccountTradeNonceResponse;
|
|
1399
|
+
fromPartial(object: DeepPartial<QuerySubaccountTradeNonceResponse>): QuerySubaccountTradeNonceResponse;
|
|
1400
|
+
};
|
|
1401
|
+
export declare const QueryModuleStateRequest: {
|
|
1402
|
+
encode(_: QueryModuleStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1403
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleStateRequest;
|
|
1404
|
+
fromPartial(_: DeepPartial<QueryModuleStateRequest>): QueryModuleStateRequest;
|
|
1405
|
+
};
|
|
1406
|
+
export declare const QueryModuleStateResponse: {
|
|
1407
|
+
encode(message: QueryModuleStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1408
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleStateResponse;
|
|
1409
|
+
fromPartial(object: DeepPartial<QueryModuleStateResponse>): QueryModuleStateResponse;
|
|
1410
|
+
};
|
|
1411
|
+
export declare const QueryPositionsRequest: {
|
|
1412
|
+
encode(_: QueryPositionsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1413
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPositionsRequest;
|
|
1414
|
+
fromPartial(_: DeepPartial<QueryPositionsRequest>): QueryPositionsRequest;
|
|
1415
|
+
};
|
|
1416
|
+
export declare const QueryPositionsResponse: {
|
|
1417
|
+
encode(message: QueryPositionsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1418
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPositionsResponse;
|
|
1419
|
+
fromPartial(object: DeepPartial<QueryPositionsResponse>): QueryPositionsResponse;
|
|
1420
|
+
};
|
|
1421
|
+
export declare const QueryTradeRewardPointsRequest: {
|
|
1422
|
+
encode(message: QueryTradeRewardPointsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1423
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTradeRewardPointsRequest;
|
|
1424
|
+
fromPartial(object: DeepPartial<QueryTradeRewardPointsRequest>): QueryTradeRewardPointsRequest;
|
|
1425
|
+
};
|
|
1426
|
+
export declare const QueryTradeRewardPointsResponse: {
|
|
1427
|
+
encode(message: QueryTradeRewardPointsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1428
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTradeRewardPointsResponse;
|
|
1429
|
+
fromPartial(object: DeepPartial<QueryTradeRewardPointsResponse>): QueryTradeRewardPointsResponse;
|
|
1430
|
+
};
|
|
1431
|
+
export declare const QueryTradeRewardCampaignRequest: {
|
|
1432
|
+
encode(_: QueryTradeRewardCampaignRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1433
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTradeRewardCampaignRequest;
|
|
1434
|
+
fromPartial(_: DeepPartial<QueryTradeRewardCampaignRequest>): QueryTradeRewardCampaignRequest;
|
|
1435
|
+
};
|
|
1436
|
+
export declare const QueryTradeRewardCampaignResponse: {
|
|
1437
|
+
encode(message: QueryTradeRewardCampaignResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1438
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTradeRewardCampaignResponse;
|
|
1439
|
+
fromPartial(object: DeepPartial<QueryTradeRewardCampaignResponse>): QueryTradeRewardCampaignResponse;
|
|
1440
|
+
};
|
|
1441
|
+
export declare const QueryIsOptedOutOfRewardsRequest: {
|
|
1442
|
+
encode(message: QueryIsOptedOutOfRewardsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1443
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryIsOptedOutOfRewardsRequest;
|
|
1444
|
+
fromPartial(object: DeepPartial<QueryIsOptedOutOfRewardsRequest>): QueryIsOptedOutOfRewardsRequest;
|
|
1445
|
+
};
|
|
1446
|
+
export declare const QueryIsOptedOutOfRewardsResponse: {
|
|
1447
|
+
encode(message: QueryIsOptedOutOfRewardsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1448
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryIsOptedOutOfRewardsResponse;
|
|
1449
|
+
fromPartial(object: DeepPartial<QueryIsOptedOutOfRewardsResponse>): QueryIsOptedOutOfRewardsResponse;
|
|
1450
|
+
};
|
|
1451
|
+
export declare const QueryOptedOutOfRewardsAccountsRequest: {
|
|
1452
|
+
encode(_: QueryOptedOutOfRewardsAccountsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1453
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryOptedOutOfRewardsAccountsRequest;
|
|
1454
|
+
fromPartial(_: DeepPartial<QueryOptedOutOfRewardsAccountsRequest>): QueryOptedOutOfRewardsAccountsRequest;
|
|
1455
|
+
};
|
|
1456
|
+
export declare const QueryOptedOutOfRewardsAccountsResponse: {
|
|
1457
|
+
encode(message: QueryOptedOutOfRewardsAccountsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1458
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryOptedOutOfRewardsAccountsResponse;
|
|
1459
|
+
fromPartial(object: DeepPartial<QueryOptedOutOfRewardsAccountsResponse>): QueryOptedOutOfRewardsAccountsResponse;
|
|
1460
|
+
};
|
|
1461
|
+
export declare const QueryFeeDiscountAccountInfoRequest: {
|
|
1462
|
+
encode(message: QueryFeeDiscountAccountInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1463
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountAccountInfoRequest;
|
|
1464
|
+
fromPartial(object: DeepPartial<QueryFeeDiscountAccountInfoRequest>): QueryFeeDiscountAccountInfoRequest;
|
|
1465
|
+
};
|
|
1466
|
+
export declare const QueryFeeDiscountAccountInfoResponse: {
|
|
1467
|
+
encode(message: QueryFeeDiscountAccountInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1468
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountAccountInfoResponse;
|
|
1469
|
+
fromPartial(object: DeepPartial<QueryFeeDiscountAccountInfoResponse>): QueryFeeDiscountAccountInfoResponse;
|
|
1470
|
+
};
|
|
1471
|
+
export declare const QueryFeeDiscountScheduleRequest: {
|
|
1472
|
+
encode(_: QueryFeeDiscountScheduleRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1473
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountScheduleRequest;
|
|
1474
|
+
fromPartial(_: DeepPartial<QueryFeeDiscountScheduleRequest>): QueryFeeDiscountScheduleRequest;
|
|
1475
|
+
};
|
|
1476
|
+
export declare const QueryFeeDiscountScheduleResponse: {
|
|
1477
|
+
encode(message: QueryFeeDiscountScheduleResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1478
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountScheduleResponse;
|
|
1479
|
+
fromPartial(object: DeepPartial<QueryFeeDiscountScheduleResponse>): QueryFeeDiscountScheduleResponse;
|
|
1480
|
+
};
|
|
1481
|
+
export declare const QueryBalanceMismatchesRequest: {
|
|
1482
|
+
encode(message: QueryBalanceMismatchesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1483
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceMismatchesRequest;
|
|
1484
|
+
fromPartial(object: DeepPartial<QueryBalanceMismatchesRequest>): QueryBalanceMismatchesRequest;
|
|
1485
|
+
};
|
|
1486
|
+
export declare const BalanceMismatch: {
|
|
1487
|
+
encode(message: BalanceMismatch, writer?: _m0.Writer): _m0.Writer;
|
|
1488
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BalanceMismatch;
|
|
1489
|
+
fromPartial(object: DeepPartial<BalanceMismatch>): BalanceMismatch;
|
|
1490
|
+
};
|
|
1491
|
+
export declare const QueryBalanceMismatchesResponse: {
|
|
1492
|
+
encode(message: QueryBalanceMismatchesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1493
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceMismatchesResponse;
|
|
1494
|
+
fromPartial(object: DeepPartial<QueryBalanceMismatchesResponse>): QueryBalanceMismatchesResponse;
|
|
1495
|
+
};
|
|
1496
|
+
export declare const QueryBalanceWithBalanceHoldsRequest: {
|
|
1497
|
+
encode(_: QueryBalanceWithBalanceHoldsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1498
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceWithBalanceHoldsRequest;
|
|
1499
|
+
fromPartial(_: DeepPartial<QueryBalanceWithBalanceHoldsRequest>): QueryBalanceWithBalanceHoldsRequest;
|
|
1500
|
+
};
|
|
1501
|
+
export declare const BalanceWithMarginHold: {
|
|
1502
|
+
encode(message: BalanceWithMarginHold, writer?: _m0.Writer): _m0.Writer;
|
|
1503
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BalanceWithMarginHold;
|
|
1504
|
+
fromPartial(object: DeepPartial<BalanceWithMarginHold>): BalanceWithMarginHold;
|
|
1505
|
+
};
|
|
1506
|
+
export declare const QueryBalanceWithBalanceHoldsResponse: {
|
|
1507
|
+
encode(message: QueryBalanceWithBalanceHoldsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1508
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceWithBalanceHoldsResponse;
|
|
1509
|
+
fromPartial(object: DeepPartial<QueryBalanceWithBalanceHoldsResponse>): QueryBalanceWithBalanceHoldsResponse;
|
|
1510
|
+
};
|
|
1511
|
+
export declare const QueryFeeDiscountTierStatisticsRequest: {
|
|
1512
|
+
encode(_: QueryFeeDiscountTierStatisticsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1513
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountTierStatisticsRequest;
|
|
1514
|
+
fromPartial(_: DeepPartial<QueryFeeDiscountTierStatisticsRequest>): QueryFeeDiscountTierStatisticsRequest;
|
|
1515
|
+
};
|
|
1516
|
+
export declare const TierStatistic: {
|
|
1517
|
+
encode(message: TierStatistic, writer?: _m0.Writer): _m0.Writer;
|
|
1518
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TierStatistic;
|
|
1519
|
+
fromPartial(object: DeepPartial<TierStatistic>): TierStatistic;
|
|
1520
|
+
};
|
|
1521
|
+
export declare const QueryFeeDiscountTierStatisticsResponse: {
|
|
1522
|
+
encode(message: QueryFeeDiscountTierStatisticsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1523
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryFeeDiscountTierStatisticsResponse;
|
|
1524
|
+
fromPartial(object: DeepPartial<QueryFeeDiscountTierStatisticsResponse>): QueryFeeDiscountTierStatisticsResponse;
|
|
1525
|
+
};
|
|
1526
|
+
export declare const NinjaVaultInfosRequest: {
|
|
1527
|
+
encode(_: NinjaVaultInfosRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1528
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NinjaVaultInfosRequest;
|
|
1529
|
+
fromPartial(_: DeepPartial<NinjaVaultInfosRequest>): NinjaVaultInfosRequest;
|
|
1530
|
+
};
|
|
1531
|
+
export declare const NinjaVaultInfosResponse: {
|
|
1532
|
+
encode(message: NinjaVaultInfosResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1533
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NinjaVaultInfosResponse;
|
|
1534
|
+
fromPartial(object: DeepPartial<NinjaVaultInfosResponse>): NinjaVaultInfosResponse;
|
|
1535
|
+
};
|
|
1536
|
+
export declare const QueryMarketIDFromVaultRequest: {
|
|
1537
|
+
encode(message: QueryMarketIDFromVaultRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1538
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMarketIDFromVaultRequest;
|
|
1539
|
+
fromPartial(object: DeepPartial<QueryMarketIDFromVaultRequest>): QueryMarketIDFromVaultRequest;
|
|
1540
|
+
};
|
|
1541
|
+
export declare const QueryMarketIDFromVaultResponse: {
|
|
1542
|
+
encode(message: QueryMarketIDFromVaultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1543
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMarketIDFromVaultResponse;
|
|
1544
|
+
fromPartial(object: DeepPartial<QueryMarketIDFromVaultResponse>): QueryMarketIDFromVaultResponse;
|
|
1545
|
+
};
|
|
1546
|
+
export declare const QueryHistoricalTradeRecordsRequest: {
|
|
1547
|
+
encode(message: QueryHistoricalTradeRecordsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1548
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalTradeRecordsRequest;
|
|
1549
|
+
fromPartial(object: DeepPartial<QueryHistoricalTradeRecordsRequest>): QueryHistoricalTradeRecordsRequest;
|
|
1550
|
+
};
|
|
1551
|
+
export declare const QueryHistoricalTradeRecordsResponse: {
|
|
1552
|
+
encode(message: QueryHistoricalTradeRecordsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1553
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalTradeRecordsResponse;
|
|
1554
|
+
fromPartial(object: DeepPartial<QueryHistoricalTradeRecordsResponse>): QueryHistoricalTradeRecordsResponse;
|
|
1555
|
+
};
|
|
1556
|
+
export declare const TradeHistoryOptions: {
|
|
1557
|
+
encode(message: TradeHistoryOptions, writer?: _m0.Writer): _m0.Writer;
|
|
1558
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TradeHistoryOptions;
|
|
1559
|
+
fromPartial(object: DeepPartial<TradeHistoryOptions>): TradeHistoryOptions;
|
|
1560
|
+
};
|
|
1561
|
+
export declare const QueryMarketVolatilityRequest: {
|
|
1562
|
+
encode(message: QueryMarketVolatilityRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1563
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMarketVolatilityRequest;
|
|
1564
|
+
fromPartial(object: DeepPartial<QueryMarketVolatilityRequest>): QueryMarketVolatilityRequest;
|
|
1565
|
+
};
|
|
1566
|
+
export declare const QueryMarketVolatilityResponse: {
|
|
1567
|
+
encode(message: QueryMarketVolatilityResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1568
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMarketVolatilityResponse;
|
|
1569
|
+
fromPartial(object: DeepPartial<QueryMarketVolatilityResponse>): QueryMarketVolatilityResponse;
|
|
1570
|
+
};
|
|
1571
|
+
export declare const QueryBinaryMarketsRequest: {
|
|
1572
|
+
encode(message: QueryBinaryMarketsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1573
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBinaryMarketsRequest;
|
|
1574
|
+
fromPartial(object: DeepPartial<QueryBinaryMarketsRequest>): QueryBinaryMarketsRequest;
|
|
1575
|
+
};
|
|
1576
|
+
export declare const QueryBinaryMarketsResponse: {
|
|
1577
|
+
encode(message: QueryBinaryMarketsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1578
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBinaryMarketsResponse;
|
|
1579
|
+
fromPartial(object: DeepPartial<QueryBinaryMarketsResponse>): QueryBinaryMarketsResponse;
|
|
1580
|
+
};
|
|
1581
|
+
export declare const QueryTraderDerivativeConditionalOrdersRequest: {
|
|
1582
|
+
encode(message: QueryTraderDerivativeConditionalOrdersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
1583
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderDerivativeConditionalOrdersRequest;
|
|
1584
|
+
fromPartial(object: DeepPartial<QueryTraderDerivativeConditionalOrdersRequest>): QueryTraderDerivativeConditionalOrdersRequest;
|
|
1585
|
+
};
|
|
1586
|
+
export declare const TrimmedDerivativeConditionalOrder: {
|
|
1587
|
+
encode(message: TrimmedDerivativeConditionalOrder, writer?: _m0.Writer): _m0.Writer;
|
|
1588
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrimmedDerivativeConditionalOrder;
|
|
1589
|
+
fromPartial(object: DeepPartial<TrimmedDerivativeConditionalOrder>): TrimmedDerivativeConditionalOrder;
|
|
1590
|
+
};
|
|
1591
|
+
export declare const QueryTraderDerivativeConditionalOrdersResponse: {
|
|
1592
|
+
encode(message: QueryTraderDerivativeConditionalOrdersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1593
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTraderDerivativeConditionalOrdersResponse;
|
|
1594
|
+
fromPartial(object: DeepPartial<QueryTraderDerivativeConditionalOrdersResponse>): QueryTraderDerivativeConditionalOrdersResponse;
|
|
1595
|
+
};
|