- JSDK
-
Classes
- Class: SDK
- Class: AuthService
- Class: BankService
- Class: CurrenciesService
- Class: DistributionService
- Class: GovernanceService
- Class: MarketsService
- Class: MintService
- Class: MultisigService
- Class: OracleService
- Class: OrdersService
- Class: PoAService
- Class: SlashingService
- Class: StakingService
- Class: SupplyService
- Class: TendermintRpcService
- Class: TransactionsService
- Class: VmService
- Class: SDK
- Class: AuthService
- Class: BankService
- Class: CurrenciesService
- Class: DistributionService
- Class: GovernanceService
- Class: MarketsService
- Class: MintService
- Class: MultisigService
- Class: OracleService
- Class: OrdersService
- Class: PoAService
- Class: SlashingService
- Class: StakingService
- Class: SupplyService
- Class: TendermintRpcService
- Class: TransactionsService
- Class: VmService
- Class: DB
- Class: Mocks
-
Interfaces
- Interface: BaseReq
- Interface: Block
- Interface: BlockHeader
- Interface: BlockId
- Interface: BlockQuery
- Interface: BroadcastTxCommitResult
- Interface: CheckTxResult
- Interface: Coin
- Interface: Delegation
- Interface: DelegationDelegatorReward
- Interface: DelegatorTotalRewards
- Interface: DeliverTxResult
- Interface: Deposit
- Interface: DistributionParams
- Interface: KvPair
- Interface: MintParams
- Interface: PaginatedQueryTxs
- Interface: ParamChange
- Interface: Proposer
- Interface: PublicKey
- Interface: Redelegation
- Interface: RedelegationEntry
- Interface: RestBaseReq
- Interface: RestCcRespGetCurrencies
- Interface: RestCcRespGetCurrency
- Interface: RestCcRespGetIssue
- Interface: RestCcRespGetWithdraw
- Interface: RestCcRespGetWithdraws
- Interface: RestCcRespStdTx
- Interface: RestCompileReq
- Interface: RestConfirmReq
- Interface: RestDelegateRequest
- Interface: RestErrorResponse
- Interface: RestExecuteScriptReq
- Interface: RestFundPublicTreasuryPoolReq
- Interface: RestLcsViewReq
- Interface: RestLcsViewResp
- Interface: RestMarketsRespGetMarket
- Interface: RestMarketsRespGetMarkets
- Interface: RestMsRespGetCall
- Interface: RestMsRespGetCalls
- Interface: RestOracleRespGetAssets
- Interface: RestOracleRespGetPrice
- Interface: RestOracleRespGetRawPrices
- Interface: RestOrdersRespGetOrder
- Interface: RestOrdersRespGetOrders
- Interface: RestOrdersRespPostOrder
- Interface: RestOrdersRespRevokeOrder
- Interface: RestPoaRespGetValidators
- Interface: RestPostOrderMsg
- Interface: RestPostOrderReq
- Interface: RestPostPriceReq
- Interface: RestPublishModuleReq
- Interface: RestQueryAddressResp
- Interface: RestQueryDecCoinsResp
- Interface: RestQueryDecResp
- Interface: RestQueryDelegationResp
- Interface: RestQueryDelegationRewardsResp
- Interface: RestQueryDelegationsResp
- Interface: RestQueryDelegatorRewardsResp
- Interface: RestQueryExtendedValidatorResp
- Interface: RestQueryExtendedValidatorsResp
- Interface: RestQueryHistoricalInfoResp
- Interface: RestQueryMinterExtendedResp
- Interface: RestQueryParamsResp
- Interface: RestQueryPoolResp
- Interface: RestQueryRedelegationsResp
- Interface: RestQuerySwaggerValidatorDistInfoResp
- Interface: RestQueryUnbondingDelegationResp
- Interface: RestQueryUnbondingDelegationsResp
- Interface: RestQueryValidatorResp
- Interface: RestQueryValidatorsResp
- Interface: RestRedelegateRequest
- Interface: RestRevokeOrderMsg
- Interface: RestRevokeOrderReq
- Interface: RestRevokeReq
- Interface: RestSetWithdrawalAddrReq
- Interface: RestSubmitIssueReq
- Interface: RestTxBeginRedelegate
- Interface: RestTxFundPublicTreasuryPool
- Interface: RestTxSetWithdrawAddress
- Interface: RestTxUndelegate
- Interface: RestTxWithdrawDelegatorReward
- Interface: RestUndelegateRequest
- Interface: RestUnstakeReq
- Interface: RestVmData
- Interface: RestVmRespCompile
- Interface: RestVmRespLcsView
- Interface: RestVmRespStdTx
- Interface: RestVmTxStatus
- Interface: RestWithdrawReq
- Interface: RestWithdrawRewardsReq
- Interface: SigningInfo
- Interface: StakingParams
- Interface: StdTx
- Interface: Supply
- Interface: TallyResult
- Interface: TendermintValidator
- Interface: TextProposal
- Interface: TxQuery
- Interface: TypesAbciMessageLog
- Interface: TypesAsset
- Interface: TypesAttribute
- Interface: TypesBlockId
- Interface: TypesCall
- Interface: TypesCallResp
- Interface: TypesCoin
- Interface: TypesCommission
- Interface: TypesCurrency
- Interface: TypesCurrentPrice
- Interface: TypesDecCoin
- Interface: TypesDelegation
- Interface: TypesDelegationDelegatorReward
- Interface: TypesDelegationResponse
- Interface: TypesDescription
- Interface: TypesHeader
- Interface: TypesHistoricalInfo
- Interface: TypesIssue
- Interface: TypesMarket
- Interface: TypesMarketExtended
- Interface: TypesMintInfo
- Interface: TypesMsgBeginRedelegate
- Interface: TypesMsgDelegate
- Interface: TypesMsgFundPublicTreasuryPool
- Interface: TypesMsgPostOrder
- Interface: TypesMsgRevokeOrder
- Interface: TypesMsgSetWithdrawAddress
- Interface: TypesMsgUndelegate
- Interface: TypesMsgWithdrawDelegatorReward
- Interface: TypesOracle
- Interface: TypesOrder
- Interface: TypesPartSetHeader
- Interface: TypesPool
- Interface: TypesPostedPrice
- Interface: TypesQueryDelegationRewardsResponse
- Interface: TypesQueryDelegatorTotalRewardsResponse
- Interface: TypesRedelegationEntry
- Interface: TypesRedelegationEntryResponse
- Interface: TypesRedelegationResponse
- Interface: TypesSearchTxsResult
- Interface: TypesStdFee
- Interface: TypesStdSignature
- Interface: TypesStdTx
- Interface: TypesStringEvent
- Interface: TypesTxResponse
- Interface: TypesTxVmStatus
- Interface: TypesUnbondingDelegation
- Interface: TypesUnbondingDelegationEntry
- Interface: TypesValidator
- Interface: TypesValidatorResp
- Interface: TypesValidatorsConfirmationsResp
- Interface: TypesValidatorTokens
- Interface: TypesValueResp
- Interface: TypesVmStatus
- Interface: TypesWithdraw
- Interface: UnbondingDelegation
- Interface: UnbondingDelegationPair
- Interface: UnbondingEntries
- Interface: Validator
- Interface: ValidatorDistInfo
- Interface: VersionConsensus
- Interface: VmClientMoveFile
- Interface: Vote
- Interface: BaseReq
- Interface: Block
- Interface: BlockHeader
- Interface: BlockId
- Interface: BlockQuery
- Interface: BroadcastTxCommitResult
- Interface: CheckTxResult
- Interface: Coin
- Interface: Delegation
- Interface: DelegationDelegatorReward
- Interface: DelegatorTotalRewards
- Interface: DeliverTxResult
- Interface: Deposit
- Interface: DistributionParams
- Interface: KvPair
- Interface: MintParams
- Interface: PaginatedQueryTxs
- Interface: ParamChange
- Interface: Proposer
- Interface: PublicKey
- Interface: Redelegation
- Interface: RedelegationEntry
- Interface: RestBaseReq
- Interface: RestCcRespGetCurrencies
- Interface: RestCcRespGetCurrency
- Interface: RestCcRespGetIssue
- Interface: RestCcRespGetWithdraw
- Interface: RestCcRespGetWithdraws
- Interface: RestCcRespStdTx
- Interface: RestCompileReq
- Interface: RestConfirmReq
- Interface: RestDelegateRequest
- Interface: RestErrorResponse
- Interface: RestExecuteScriptReq
- Interface: RestFundPublicTreasuryPoolReq
- Interface: RestLcsViewReq
- Interface: RestLcsViewResp
- Interface: RestMarketsRespGetMarket
- Interface: RestMarketsRespGetMarkets
- Interface: RestMsRespGetCall
- Interface: RestMsRespGetCalls
- Interface: RestOracleRespGetAssets
- Interface: RestOracleRespGetPrice
- Interface: RestOracleRespGetRawPrices
- Interface: RestOrdersRespGetOrder
- Interface: RestOrdersRespGetOrders
- Interface: RestOrdersRespPostOrder
- Interface: RestOrdersRespRevokeOrder
- Interface: RestPoaRespGetValidators
- Interface: RestPostOrderMsg
- Interface: RestPostOrderReq
- Interface: RestPostPriceReq
- Interface: RestPublishModuleReq
- Interface: RestQueryAddressResp
- Interface: RestQueryDecCoinsResp
- Interface: RestQueryDecResp
- Interface: RestQueryDelegationResp
- Interface: RestQueryDelegationRewardsResp
- Interface: RestQueryDelegationsResp
- Interface: RestQueryDelegatorRewardsResp
- Interface: RestQueryExtendedValidatorResp
- Interface: RestQueryExtendedValidatorsResp
- Interface: RestQueryHistoricalInfoResp
- Interface: RestQueryMinterExtendedResp
- Interface: RestQueryParamsResp
- Interface: RestQueryPoolResp
- Interface: RestQueryRedelegationsResp
- Interface: RestQuerySwaggerValidatorDistInfoResp
- Interface: RestQueryUnbondingDelegationResp
- Interface: RestQueryUnbondingDelegationsResp
- Interface: RestQueryValidatorResp
- Interface: RestQueryValidatorsResp
- Interface: RestRedelegateRequest
- Interface: RestRevokeOrderMsg
- Interface: RestRevokeOrderReq
- Interface: RestRevokeReq
- Interface: RestSetWithdrawalAddrReq
- Interface: RestSubmitIssueReq
- Interface: RestTxBeginRedelegate
- Interface: RestTxFundPublicTreasuryPool
- Interface: RestTxSetWithdrawAddress
- Interface: RestTxUndelegate
- Interface: RestTxWithdrawDelegatorReward
- Interface: RestUndelegateRequest
- Interface: RestUnstakeReq
- Interface: RestVmData
- Interface: RestVmRespCompile
- Interface: RestVmRespLcsView
- Interface: RestVmRespStdTx
- Interface: RestVmTxStatus
- Interface: RestWithdrawReq
- Interface: RestWithdrawRewardsReq
- Interface: SigningInfo
- Interface: StakingParams
- Interface: StdTx
- Interface: Supply
- Interface: TallyResult
- Interface: TendermintValidator
- Interface: TextProposal
- Interface: TxQuery
- Interface: TypesAbciMessageLog
- Interface: TypesAsset
- Interface: TypesAttribute
- Interface: TypesBlockId
- Interface: TypesCall
- Interface: TypesCallResp
- Interface: TypesCoin
- Interface: TypesCommission
- Interface: TypesCurrency
- Interface: TypesCurrentPrice
- Interface: TypesDecCoin
- Interface: TypesDelegation
- Interface: TypesDelegationDelegatorReward
- Interface: TypesDelegationResponse
- Interface: TypesDescription
- Interface: TypesHeader
- Interface: TypesHistoricalInfo
- Interface: TypesIssue
- Interface: TypesMarket
- Interface: TypesMarketExtended
- Interface: TypesMintInfo
- Interface: TypesMsgBeginRedelegate
- Interface: TypesMsgDelegate
- Interface: TypesMsgFundPublicTreasuryPool
- Interface: TypesMsgPostOrder
- Interface: TypesMsgRevokeOrder
- Interface: TypesMsgSetWithdrawAddress
- Interface: TypesMsgUndelegate
- Interface: TypesMsgWithdrawDelegatorReward
- Interface: TypesOracle
- Interface: TypesOrder
- Interface: TypesPartSetHeader
- Interface: TypesPool
- Interface: TypesPostedPrice
- Interface: TypesQueryDelegationRewardsResponse
- Interface: TypesQueryDelegatorTotalRewardsResponse
- Interface: TypesRedelegationEntry
- Interface: TypesRedelegationEntryResponse
- Interface: TypesRedelegationResponse
- Interface: TypesSearchTxsResult
- Interface: TypesStdFee
- Interface: TypesStdSignature
- Interface: TypesStdTx
- Interface: TypesStringEvent
- Interface: TypesTxResponse
- Interface: TypesTxVmStatus
- Interface: TypesUnbondingDelegation
- Interface: TypesUnbondingDelegationEntry
- Interface: TypesValidator
- Interface: TypesValidatorResp
- Interface: TypesValidatorsConfirmationsResp
- Interface: TypesValidatorTokens
- Interface: TypesValueResp
- Interface: TypesVmStatus
- Interface: TypesWithdraw
- Interface: UnbondingDelegation
- Interface: UnbondingDelegationPair
- Interface: UnbondingEntries
- Interface: Validator
- Interface: ValidatorDistInfo
- Interface: VersionConsensus
- Interface: VmClientMoveFile
- Interface: Vote
- Interface: Balance
- Interface: Account
- Interface: KeyPair
- Interface: Wallet
- Interface: DelegationTransaction
- Interface: DestroyTransaction
- Interface: GovernanceChangeTransaction
- Interface: GovernanceDepositTransaction
- Interface: GovernanceTransaction
- Interface: GovernanceVoteTransaction
- Interface: MoneyTransaction
- Interface: RedelegationTransaction
- Interface: Account
- Interface: Signature
- Interface: UnbondingDelegationTransaction
- Interface: WithdrawRewardTransaction
-
Modules
- Module: cosmos
- Module: cosmos/AuthService
- Module: cosmos/BankService
- Module: cosmos/CurrenciesService
- Module: cosmos/definitions
- Module: cosmos/definitions/Address
- Module: cosmos/definitions/AuthStdFee
- Module: cosmos/definitions/AuthStdSignature
- Module: cosmos/definitions/AuthStdTx
- Module: cosmos/definitions/BaseReq
- Module: cosmos/definitions/Block
- Module: cosmos/definitions/BlockHeader
- Module: cosmos/definitions/BlockId
- Module: cosmos/definitions/BlockQuery
- Module: cosmos/definitions/BroadcastTxCommitResult
- Module: cosmos/definitions/BytesHexBytes
- Module: cosmos/definitions/CcstorageCurrencies
- Module: cosmos/definitions/CcstorageCurrency
- Module: cosmos/definitions/CheckTxResult
- Module: cosmos/definitions/Coin
- Module: cosmos/definitions/CryptoAddress
- Module: cosmos/definitions/Delegation
- Module: cosmos/definitions/DelegationDelegatorReward
- Module: cosmos/definitions/DelegatorTotalRewards
- Module: cosmos/definitions/DeliverTxResult
- Module: cosmos/definitions/Deposit
- Module: cosmos/definitions/DistributionParams
- Module: cosmos/definitions/Hash
- Module: cosmos/definitions/KvPair
- Module: cosmos/definitions/MarketsMarketExtended
- Module: cosmos/definitions/MintParams
- Module: cosmos/definitions/Msg
- Module: cosmos/definitions/MsmoduleMsMsg
- Module: cosmos/definitions/PaginatedQueryTxs
- Module: cosmos/definitions/ParamChange
- Module: cosmos/definitions/Proposer
- Module: cosmos/definitions/PublicKey
- Module: cosmos/definitions/Redelegation
- Module: cosmos/definitions/RedelegationEntry
- Module: cosmos/definitions/RestBaseReq
- Module: cosmos/definitions/RestCcRespGetCurrencies
- Module: cosmos/definitions/RestCcRespGetCurrency
- Module: cosmos/definitions/RestCcRespGetIssue
- Module: cosmos/definitions/RestCcRespGetWithdraw
- Module: cosmos/definitions/RestCcRespGetWithdraws
- Module: cosmos/definitions/RestCcRespStdTx
- Module: cosmos/definitions/RestCompileReq
- Module: cosmos/definitions/RestConfirmReq
- Module: cosmos/definitions/RestDelegateRequest
- Module: cosmos/definitions/RestErrorResponse
- Module: cosmos/definitions/RestExecuteScriptReq
- Module: cosmos/definitions/RestFundPublicTreasuryPoolReq
- Module: cosmos/definitions/RestLcsViewReq
- Module: cosmos/definitions/RestLcsViewResp
- Module: cosmos/definitions/RestMarketsRespGetMarket
- Module: cosmos/definitions/RestMarketsRespGetMarkets
- Module: cosmos/definitions/RestMsRespGetCall
- Module: cosmos/definitions/RestMsRespGetCalls
- Module: cosmos/definitions/RestOracleRespGetAssets
- Module: cosmos/definitions/RestOracleRespGetPrice
- Module: cosmos/definitions/RestOracleRespGetRawPrices
- Module: cosmos/definitions/RestOrdersRespGetOrder
- Module: cosmos/definitions/RestOrdersRespGetOrders
- Module: cosmos/definitions/RestOrdersRespPostOrder
- Module: cosmos/definitions/RestOrdersRespRevokeOrder
- Module: cosmos/definitions/RestPoaRespGetValidators
- Module: cosmos/definitions/RestPostOrderMsg
- Module: cosmos/definitions/RestPostOrderReq
- Module: cosmos/definitions/RestPostPriceReq
- Module: cosmos/definitions/RestPublishModuleReq
- Module: cosmos/definitions/RestQueryAddressResp
- Module: cosmos/definitions/RestQueryDecCoinsResp
- Module: cosmos/definitions/RestQueryDecResp
- Module: cosmos/definitions/RestQueryDelegationResp
- Module: cosmos/definitions/RestQueryDelegationRewardsResp
- Module: cosmos/definitions/RestQueryDelegationsResp
- Module: cosmos/definitions/RestQueryDelegatorRewardsResp
- Module: cosmos/definitions/RestQueryExtendedValidatorResp
- Module: cosmos/definitions/RestQueryExtendedValidatorsResp
- Module: cosmos/definitions/RestQueryHistoricalInfoResp
- Module: cosmos/definitions/RestQueryMinterExtendedResp
- Module: cosmos/definitions/RestQueryParamsResp
- Module: cosmos/definitions/RestQueryPoolResp
- Module: cosmos/definitions/RestQueryRedelegationsResp
- Module: cosmos/definitions/RestQuerySwaggerValidatorDistInfoResp
- Module: cosmos/definitions/RestQueryUnbondingDelegationResp
- Module: cosmos/definitions/RestQueryUnbondingDelegationsResp
- Module: cosmos/definitions/RestQueryValidatorResp
- Module: cosmos/definitions/RestQueryValidatorsResp
- Module: cosmos/definitions/RestRedelegateRequest
- Module: cosmos/definitions/RestRevokeOrderMsg
- Module: cosmos/definitions/RestRevokeOrderReq
- Module: cosmos/definitions/RestRevokeReq
- Module: cosmos/definitions/RestSetWithdrawalAddrReq
- Module: cosmos/definitions/RestSubmitIssueReq
- Module: cosmos/definitions/RestTxBeginRedelegate
- Module: cosmos/definitions/RestTxFundPublicTreasuryPool
- Module: cosmos/definitions/RestTxSetWithdrawAddress
- Module: cosmos/definitions/RestTxUndelegate
- Module: cosmos/definitions/RestTxWithdrawDelegatorReward
- Module: cosmos/definitions/RestUndelegateRequest
- Module: cosmos/definitions/RestUnstakeReq
- Module: cosmos/definitions/RestVmData
- Module: cosmos/definitions/RestVmRespCompile
- Module: cosmos/definitions/RestVmRespLcsView
- Module: cosmos/definitions/RestVmRespStdTx
- Module: cosmos/definitions/RestVmTxStatus
- Module: cosmos/definitions/RestWithdrawReq
- Module: cosmos/definitions/RestWithdrawRewardsReq
- Module: cosmos/definitions/SigningInfo
- Module: cosmos/definitions/StakingCommission
- Module: cosmos/definitions/StakingDescription
- Module: cosmos/definitions/StakingParams
- Module: cosmos/definitions/StdTx
- Module: cosmos/definitions/Supply
- Module: cosmos/definitions/TallyResult
- Module: cosmos/definitions/TendermintValidator
- Module: cosmos/definitions/TextProposal
- Module: cosmos/definitions/TxQuery
- Module: cosmos/definitions/TypesAbciMessageLog
- Module: cosmos/definitions/TypesAbciMessageLogs
- Module: cosmos/definitions/TypesAccAddress
- Module: cosmos/definitions/TypesAddress
- Module: cosmos/definitions/TypesAsset
- Module: cosmos/definitions/TypesAssets
- Module: cosmos/definitions/TypesAttribute
- Module: cosmos/definitions/TypesBlockId
- Module: cosmos/definitions/TypesCall
- Module: cosmos/definitions/TypesCallResp
- Module: cosmos/definitions/TypesCallsResp
- Module: cosmos/definitions/TypesCoin
- Module: cosmos/definitions/TypesCoins
- Module: cosmos/definitions/TypesCommission
- Module: cosmos/definitions/TypesCurrencies
- Module: cosmos/definitions/TypesCurrency
- Module: cosmos/definitions/TypesCurrentPrice
- Module: cosmos/definitions/TypesDec
- Module: cosmos/definitions/TypesDecCoin
- Module: cosmos/definitions/TypesDecCoins
- Module: cosmos/definitions/TypesDelegation
- Module: cosmos/definitions/TypesDelegationDelegatorReward
- Module: cosmos/definitions/TypesDelegationResponse
- Module: cosmos/definitions/TypesDescription
- Module: cosmos/definitions/TypesHeader
- Module: cosmos/definitions/TypesHistoricalInfo
- Module: cosmos/definitions/TypesId
- Module: cosmos/definitions/TypesInt
- Module: cosmos/definitions/TypesIssue
- Module: cosmos/definitions/TypesMarket
- Module: cosmos/definitions/TypesMarketExtended
- Module: cosmos/definitions/TypesMarkets
- Module: cosmos/definitions/TypesMintInfo
- Module: cosmos/definitions/TypesMsg
- Module: cosmos/definitions/TypesMsgBeginRedelegate
- Module: cosmos/definitions/TypesMsgDelegate
- Module: cosmos/definitions/TypesMsgFundPublicTreasuryPool
- Module: cosmos/definitions/TypesMsgPostOrder
- Module: cosmos/definitions/TypesMsgRevokeOrder
- Module: cosmos/definitions/TypesMsgSetWithdrawAddress
- Module: cosmos/definitions/TypesMsgUndelegate
- Module: cosmos/definitions/TypesMsgWithdrawDelegatorReward
- Module: cosmos/definitions/TypesOracle
- Module: cosmos/definitions/TypesOracles
- Module: cosmos/definitions/TypesOrder
- Module: cosmos/definitions/TypesOrders
- Module: cosmos/definitions/TypesPartSetHeader
- Module: cosmos/definitions/TypesPool
- Module: cosmos/definitions/TypesPostedPrice
- Module: cosmos/definitions/TypesQueryDelegationRewardsResponse
- Module: cosmos/definitions/TypesQueryDelegatorTotalRewardsResponse
- Module: cosmos/definitions/TypesRedelegationEntry
- Module: cosmos/definitions/TypesRedelegationEntryResponse
- Module: cosmos/definitions/TypesRedelegationResponse
- Module: cosmos/definitions/TypesSearchTxsResult
- Module: cosmos/definitions/TypesStdFee
- Module: cosmos/definitions/TypesStdSignature
- Module: cosmos/definitions/TypesStdTx
- Module: cosmos/definitions/TypesStringEvent
- Module: cosmos/definitions/TypesStringEvents
- Module: cosmos/definitions/TypesTx
- Module: cosmos/definitions/TypesTxResponse
- Module: cosmos/definitions/TypesTxVmStatus
- Module: cosmos/definitions/TypesUint
- Module: cosmos/definitions/TypesUnbondingDelegation
- Module: cosmos/definitions/TypesUnbondingDelegationEntry
- Module: cosmos/definitions/TypesValAddress
- Module: cosmos/definitions/TypesValidator
- Module: cosmos/definitions/TypesValidatorResp
- Module: cosmos/definitions/TypesValidators
- Module: cosmos/definitions/TypesValidatorsConfirmationsResp
- Module: cosmos/definitions/TypesValidatorTokens
- Module: cosmos/definitions/TypesValueResp
- Module: cosmos/definitions/TypesVmStatus
- Module: cosmos/definitions/TypesVmStatuses
- Module: cosmos/definitions/TypesWithdraw
- Module: cosmos/definitions/TypesWithdraws
- Module: cosmos/definitions/UnbondingDelegation
- Module: cosmos/definitions/UnbondingDelegationPair
- Module: cosmos/definitions/UnbondingEntries
- Module: cosmos/definitions/Validator
- Module: cosmos/definitions/ValidatorAddress
- Module: cosmos/definitions/ValidatorDistInfo
- Module: cosmos/definitions/VersionConsensus
- Module: cosmos/definitions/VmClientMoveFile
- Module: cosmos/definitions/Vote
- Module: cosmos/DistributionService
- Module: cosmos/GovernanceService
- Module: cosmos/MarketsService
- Module: cosmos/MintService
- Module: cosmos/MultisigService
- Module: cosmos/OracleService
- Module: cosmos/OrdersService
- Module: cosmos/PoAService
- Module: cosmos/rests/axios
- Module: cosmos/rests/fetch
- Module: cosmos/SlashingService
- Module: cosmos/StakingService
- Module: cosmos/SupplyService
- Module: cosmos/TendermintRpcService
- Module: cosmos/TransactionsService
- Module: cosmos/utils
- Module: cosmos/utils/Log
- Module: cosmos/utils/Timer
- Module: cosmos/VmService
- Module: dfinance
- Module: dfinance/AuthService
- Module: dfinance/BankService
- Module: dfinance/CurrenciesService
- Module: dfinance/definitions
- Module: dfinance/definitions/Address
- Module: dfinance/definitions/AuthStdFee
- Module: dfinance/definitions/AuthStdSignature
- Module: dfinance/definitions/AuthStdTx
- Module: dfinance/definitions/BaseReq
- Module: dfinance/definitions/Block
- Module: dfinance/definitions/BlockHeader
- Module: dfinance/definitions/BlockId
- Module: dfinance/definitions/BlockQuery
- Module: dfinance/definitions/BroadcastTxCommitResult
- Module: dfinance/definitions/BytesHexBytes
- Module: dfinance/definitions/CcstorageCurrencies
- Module: dfinance/definitions/CcstorageCurrency
- Module: dfinance/definitions/CheckTxResult
- Module: dfinance/definitions/Coin
- Module: dfinance/definitions/CryptoAddress
- Module: dfinance/definitions/Delegation
- Module: dfinance/definitions/DelegationDelegatorReward
- Module: dfinance/definitions/DelegatorTotalRewards
- Module: dfinance/definitions/DeliverTxResult
- Module: dfinance/definitions/Deposit
- Module: dfinance/definitions/DistributionParams
- Module: dfinance/definitions/Hash
- Module: dfinance/definitions/KvPair
- Module: dfinance/definitions/MarketsMarketExtended
- Module: dfinance/definitions/MintParams
- Module: dfinance/definitions/Msg
- Module: dfinance/definitions/MsmoduleMsMsg
- Module: dfinance/definitions/PaginatedQueryTxs
- Module: dfinance/definitions/ParamChange
- Module: dfinance/definitions/Proposer
- Module: dfinance/definitions/PublicKey
- Module: dfinance/definitions/Redelegation
- Module: dfinance/definitions/RedelegationEntry
- Module: dfinance/definitions/RestBaseReq
- Module: dfinance/definitions/RestCcRespGetCurrencies
- Module: dfinance/definitions/RestCcRespGetCurrency
- Module: dfinance/definitions/RestCcRespGetIssue
- Module: dfinance/definitions/RestCcRespGetWithdraw
- Module: dfinance/definitions/RestCcRespGetWithdraws
- Module: dfinance/definitions/RestCcRespStdTx
- Module: dfinance/definitions/RestCompileReq
- Module: dfinance/definitions/RestConfirmReq
- Module: dfinance/definitions/RestDelegateRequest
- Module: dfinance/definitions/RestErrorResponse
- Module: dfinance/definitions/RestExecuteScriptReq
- Module: dfinance/definitions/RestFundPublicTreasuryPoolReq
- Module: dfinance/definitions/RestLcsViewReq
- Module: dfinance/definitions/RestLcsViewResp
- Module: dfinance/definitions/RestMarketsRespGetMarket
- Module: dfinance/definitions/RestMarketsRespGetMarkets
- Module: dfinance/definitions/RestMsRespGetCall
- Module: dfinance/definitions/RestMsRespGetCalls
- Module: dfinance/definitions/RestOracleRespGetAssets
- Module: dfinance/definitions/RestOracleRespGetPrice
- Module: dfinance/definitions/RestOracleRespGetRawPrices
- Module: dfinance/definitions/RestOrdersRespGetOrder
- Module: dfinance/definitions/RestOrdersRespGetOrders
- Module: dfinance/definitions/RestOrdersRespPostOrder
- Module: dfinance/definitions/RestOrdersRespRevokeOrder
- Module: dfinance/definitions/RestPoaRespGetValidators
- Module: dfinance/definitions/RestPostOrderMsg
- Module: dfinance/definitions/RestPostOrderReq
- Module: dfinance/definitions/RestPostPriceReq
- Module: dfinance/definitions/RestPublishModuleReq
- Module: dfinance/definitions/RestQueryAddressResp
- Module: dfinance/definitions/RestQueryDecCoinsResp
- Module: dfinance/definitions/RestQueryDecResp
- Module: dfinance/definitions/RestQueryDelegationResp
- Module: dfinance/definitions/RestQueryDelegationRewardsResp
- Module: dfinance/definitions/RestQueryDelegationsResp
- Module: dfinance/definitions/RestQueryDelegatorRewardsResp
- Module: dfinance/definitions/RestQueryExtendedValidatorResp
- Module: dfinance/definitions/RestQueryExtendedValidatorsResp
- Module: dfinance/definitions/RestQueryHistoricalInfoResp
- Module: dfinance/definitions/RestQueryMinterExtendedResp
- Module: dfinance/definitions/RestQueryParamsResp
- Module: dfinance/definitions/RestQueryPoolResp
- Module: dfinance/definitions/RestQueryRedelegationsResp
- Module: dfinance/definitions/RestQuerySwaggerValidatorDistInfoResp
- Module: dfinance/definitions/RestQueryUnbondingDelegationResp
- Module: dfinance/definitions/RestQueryUnbondingDelegationsResp
- Module: dfinance/definitions/RestQueryValidatorResp
- Module: dfinance/definitions/RestQueryValidatorsResp
- Module: dfinance/definitions/RestRedelegateRequest
- Module: dfinance/definitions/RestRevokeOrderMsg
- Module: dfinance/definitions/RestRevokeOrderReq
- Module: dfinance/definitions/RestRevokeReq
- Module: dfinance/definitions/RestSetWithdrawalAddrReq
- Module: dfinance/definitions/RestSubmitIssueReq
- Module: dfinance/definitions/RestTxBeginRedelegate
- Module: dfinance/definitions/RestTxFundPublicTreasuryPool
- Module: dfinance/definitions/RestTxSetWithdrawAddress
- Module: dfinance/definitions/RestTxUndelegate
- Module: dfinance/definitions/RestTxWithdrawDelegatorReward
- Module: dfinance/definitions/RestUndelegateRequest
- Module: dfinance/definitions/RestUnstakeReq
- Module: dfinance/definitions/RestVmData
- Module: dfinance/definitions/RestVmRespCompile
- Module: dfinance/definitions/RestVmRespLcsView
- Module: dfinance/definitions/RestVmRespStdTx
- Module: dfinance/definitions/RestVmTxStatus
- Module: dfinance/definitions/RestWithdrawReq
- Module: dfinance/definitions/RestWithdrawRewardsReq
- Module: dfinance/definitions/SigningInfo
- Module: dfinance/definitions/StakingCommission
- Module: dfinance/definitions/StakingDescription
- Module: dfinance/definitions/StakingParams
- Module: dfinance/definitions/StdTx
- Module: dfinance/definitions/Supply
- Module: dfinance/definitions/TallyResult
- Module: dfinance/definitions/TendermintValidator
- Module: dfinance/definitions/TextProposal
- Module: dfinance/definitions/TxQuery
- Module: dfinance/definitions/TypesAbciMessageLog
- Module: dfinance/definitions/TypesAbciMessageLogs
- Module: dfinance/definitions/TypesAccAddress
- Module: dfinance/definitions/TypesAddress
- Module: dfinance/definitions/TypesAsset
- Module: dfinance/definitions/TypesAssets
- Module: dfinance/definitions/TypesAttribute
- Module: dfinance/definitions/TypesBlockId
- Module: dfinance/definitions/TypesCall
- Module: dfinance/definitions/TypesCallResp
- Module: dfinance/definitions/TypesCallsResp
- Module: dfinance/definitions/TypesCoin
- Module: dfinance/definitions/TypesCoins
- Module: dfinance/definitions/TypesCommission
- Module: dfinance/definitions/TypesCurrencies
- Module: dfinance/definitions/TypesCurrency
- Module: dfinance/definitions/TypesCurrentPrice
- Module: dfinance/definitions/TypesDec
- Module: dfinance/definitions/TypesDecCoin
- Module: dfinance/definitions/TypesDecCoins
- Module: dfinance/definitions/TypesDelegation
- Module: dfinance/definitions/TypesDelegationDelegatorReward
- Module: dfinance/definitions/TypesDelegationResponse
- Module: dfinance/definitions/TypesDescription
- Module: dfinance/definitions/TypesHeader
- Module: dfinance/definitions/TypesHistoricalInfo
- Module: dfinance/definitions/TypesId
- Module: dfinance/definitions/TypesInt
- Module: dfinance/definitions/TypesIssue
- Module: dfinance/definitions/TypesMarket
- Module: dfinance/definitions/TypesMarketExtended
- Module: dfinance/definitions/TypesMarkets
- Module: dfinance/definitions/TypesMintInfo
- Module: dfinance/definitions/TypesMsg
- Module: dfinance/definitions/TypesMsgBeginRedelegate
- Module: dfinance/definitions/TypesMsgDelegate
- Module: dfinance/definitions/TypesMsgFundPublicTreasuryPool
- Module: dfinance/definitions/TypesMsgPostOrder
- Module: dfinance/definitions/TypesMsgRevokeOrder
- Module: dfinance/definitions/TypesMsgSetWithdrawAddress
- Module: dfinance/definitions/TypesMsgUndelegate
- Module: dfinance/definitions/TypesMsgWithdrawDelegatorReward
- Module: dfinance/definitions/TypesOracle
- Module: dfinance/definitions/TypesOracles
- Module: dfinance/definitions/TypesOrder
- Module: dfinance/definitions/TypesOrders
- Module: dfinance/definitions/TypesPartSetHeader
- Module: dfinance/definitions/TypesPool
- Module: dfinance/definitions/TypesPostedPrice
- Module: dfinance/definitions/TypesQueryDelegationRewardsResponse
- Module: dfinance/definitions/TypesQueryDelegatorTotalRewardsResponse
- Module: dfinance/definitions/TypesRedelegationEntry
- Module: dfinance/definitions/TypesRedelegationEntryResponse
- Module: dfinance/definitions/TypesRedelegationResponse
- Module: dfinance/definitions/TypesSearchTxsResult
- Module: dfinance/definitions/TypesStdFee
- Module: dfinance/definitions/TypesStdSignature
- Module: dfinance/definitions/TypesStdTx
- Module: dfinance/definitions/TypesStringEvent
- Module: dfinance/definitions/TypesStringEvents
- Module: dfinance/definitions/TypesTx
- Module: dfinance/definitions/TypesTxResponse
- Module: dfinance/definitions/TypesTxVmStatus
- Module: dfinance/definitions/TypesUint
- Module: dfinance/definitions/TypesUnbondingDelegation
- Module: dfinance/definitions/TypesUnbondingDelegationEntry
- Module: dfinance/definitions/TypesValAddress
- Module: dfinance/definitions/TypesValidator
- Module: dfinance/definitions/TypesValidatorResp
- Module: dfinance/definitions/TypesValidators
- Module: dfinance/definitions/TypesValidatorsConfirmationsResp
- Module: dfinance/definitions/TypesValidatorTokens
- Module: dfinance/definitions/TypesValueResp
- Module: dfinance/definitions/TypesVmStatus
- Module: dfinance/definitions/TypesVmStatuses
- Module: dfinance/definitions/TypesWithdraw
- Module: dfinance/definitions/TypesWithdraws
- Module: dfinance/definitions/UnbondingDelegation
- Module: dfinance/definitions/UnbondingDelegationPair
- Module: dfinance/definitions/UnbondingEntries
- Module: dfinance/definitions/Validator
- Module: dfinance/definitions/ValidatorAddress
- Module: dfinance/definitions/ValidatorDistInfo
- Module: dfinance/definitions/VersionConsensus
- Module: dfinance/definitions/VmClientMoveFile
- Module: dfinance/definitions/Vote
- Module: dfinance/DistributionService
- Module: dfinance/GovernanceService
- Module: dfinance/MarketsService
- Module: dfinance/MintService
- Module: dfinance/MultisigService
- Module: dfinance/OracleService
- Module: dfinance/OrdersService
- Module: dfinance/PoAService
- Module: dfinance/rests/axios
- Module: dfinance/rests/fetch
- Module: dfinance/SlashingService
- Module: dfinance/StakingService
- Module: dfinance/SupplyService
- Module: dfinance/TendermintRpcService
- Module: dfinance/TransactionsService
- Module: dfinance/utils
- Module: dfinance/utils/Log
- Module: dfinance/utils/Timer
- Module: dfinance/VmService
- Module: extra/combined
- Module: extra/combined/balances
- Module: extra/crypto
- Module: extra/crypto/__tests__/index.test
- Module: extra/DB
- Module: extra/DB/__tests__/index.test
- Module: extra/transactions/__tests__/index.test
- Module: extra/transactions/delegationTransaction
- Module: extra/transactions/destroyTransaction
- Module: extra/transactions/governanceChangeTransaction
- Module: extra/transactions/governanceDepositTransaction
- Module: extra/transactions/governanceTransaction
- Module: extra/transactions/governanceVoteTransaction
- Module: extra/transactions/moneyTransaction
- Module: extra/transactions/redelegationTransaction
- Module: extra/transactions/transaction
- Module: extra/transactions/types
- Module: extra/transactions/unbondingDelegationTransaction
- Module: extra/transactions/utils
- Module: extra/transactions/withdrawRewardTransaction
- Module: mocks
JSDK
JSDK
Table of contents
Modules
- cosmos
- cosmos/AuthService
- cosmos/BankService
- cosmos/CurrenciesService
- cosmos/DistributionService
- cosmos/GovernanceService
- cosmos/MarketsService
- cosmos/MintService
- cosmos/MultisigService
- cosmos/OracleService
- cosmos/OrdersService
- cosmos/PoAService
- cosmos/SlashingService
- cosmos/StakingService
- cosmos/SupplyService
- cosmos/TendermintRpcService
- cosmos/TransactionsService
- cosmos/VmService
- cosmos/definitions
- cosmos/definitions/Address
- cosmos/definitions/AuthStdFee
- cosmos/definitions/AuthStdSignature
- cosmos/definitions/AuthStdTx
- cosmos/definitions/BaseReq
- cosmos/definitions/Block
- cosmos/definitions/BlockHeader
- cosmos/definitions/BlockId
- cosmos/definitions/BlockQuery
- cosmos/definitions/BroadcastTxCommitResult
- cosmos/definitions/BytesHexBytes
- cosmos/definitions/CcstorageCurrencies
- cosmos/definitions/CcstorageCurrency
- cosmos/definitions/CheckTxResult
- cosmos/definitions/Coin
- cosmos/definitions/CryptoAddress
- cosmos/definitions/Delegation
- cosmos/definitions/DelegationDelegatorReward
- cosmos/definitions/DelegatorTotalRewards
- cosmos/definitions/DeliverTxResult
- cosmos/definitions/Deposit
- cosmos/definitions/DistributionParams
- cosmos/definitions/Hash
- cosmos/definitions/KvPair
- cosmos/definitions/MarketsMarketExtended
- cosmos/definitions/MintParams
- cosmos/definitions/Msg
- cosmos/definitions/MsmoduleMsMsg
- cosmos/definitions/PaginatedQueryTxs
- cosmos/definitions/ParamChange
- cosmos/definitions/Proposer
- cosmos/definitions/PublicKey
- cosmos/definitions/Redelegation
- cosmos/definitions/RedelegationEntry
- cosmos/definitions/RestBaseReq
- cosmos/definitions/RestCcRespGetCurrencies
- cosmos/definitions/RestCcRespGetCurrency
- cosmos/definitions/RestCcRespGetIssue
- cosmos/definitions/RestCcRespGetWithdraw
- cosmos/definitions/RestCcRespGetWithdraws
- cosmos/definitions/RestCcRespStdTx
- cosmos/definitions/RestCompileReq
- cosmos/definitions/RestConfirmReq
- cosmos/definitions/RestDelegateRequest
- cosmos/definitions/RestErrorResponse
- cosmos/definitions/RestExecuteScriptReq
- cosmos/definitions/RestFundPublicTreasuryPoolReq
- cosmos/definitions/RestLcsViewReq
- cosmos/definitions/RestLcsViewResp
- cosmos/definitions/RestMarketsRespGetMarket
- cosmos/definitions/RestMarketsRespGetMarkets
- cosmos/definitions/RestMsRespGetCall
- cosmos/definitions/RestMsRespGetCalls
- cosmos/definitions/RestOracleRespGetAssets
- cosmos/definitions/RestOracleRespGetPrice
- cosmos/definitions/RestOracleRespGetRawPrices
- cosmos/definitions/RestOrdersRespGetOrder
- cosmos/definitions/RestOrdersRespGetOrders
- cosmos/definitions/RestOrdersRespPostOrder
- cosmos/definitions/RestOrdersRespRevokeOrder
- cosmos/definitions/RestPoaRespGetValidators
- cosmos/definitions/RestPostOrderMsg
- cosmos/definitions/RestPostOrderReq
- cosmos/definitions/RestPostPriceReq
- cosmos/definitions/RestPublishModuleReq
- cosmos/definitions/RestQueryAddressResp
- cosmos/definitions/RestQueryDecCoinsResp
- cosmos/definitions/RestQueryDecResp
- cosmos/definitions/RestQueryDelegationResp
- cosmos/definitions/RestQueryDelegationRewardsResp
- cosmos/definitions/RestQueryDelegationsResp
- cosmos/definitions/RestQueryDelegatorRewardsResp
- cosmos/definitions/RestQueryExtendedValidatorResp
- cosmos/definitions/RestQueryExtendedValidatorsResp
- cosmos/definitions/RestQueryHistoricalInfoResp
- cosmos/definitions/RestQueryMinterExtendedResp
- cosmos/definitions/RestQueryParamsResp
- cosmos/definitions/RestQueryPoolResp
- cosmos/definitions/RestQueryRedelegationsResp
- cosmos/definitions/RestQuerySwaggerValidatorDistInfoResp
- cosmos/definitions/RestQueryUnbondingDelegationResp
- cosmos/definitions/RestQueryUnbondingDelegationsResp
- cosmos/definitions/RestQueryValidatorResp
- cosmos/definitions/RestQueryValidatorsResp
- cosmos/definitions/RestRedelegateRequest
- cosmos/definitions/RestRevokeOrderMsg
- cosmos/definitions/RestRevokeOrderReq
- cosmos/definitions/RestRevokeReq
- cosmos/definitions/RestSetWithdrawalAddrReq
- cosmos/definitions/RestSubmitIssueReq
- cosmos/definitions/RestTxBeginRedelegate
- cosmos/definitions/RestTxFundPublicTreasuryPool
- cosmos/definitions/RestTxSetWithdrawAddress
- cosmos/definitions/RestTxUndelegate
- cosmos/definitions/RestTxWithdrawDelegatorReward
- cosmos/definitions/RestUndelegateRequest
- cosmos/definitions/RestUnstakeReq
- cosmos/definitions/RestVmData
- cosmos/definitions/RestVmRespCompile
- cosmos/definitions/RestVmRespLcsView
- cosmos/definitions/RestVmRespStdTx
- cosmos/definitions/RestVmTxStatus
- cosmos/definitions/RestWithdrawReq
- cosmos/definitions/RestWithdrawRewardsReq
- cosmos/definitions/SigningInfo
- cosmos/definitions/StakingCommission
- cosmos/definitions/StakingDescription
- cosmos/definitions/StakingParams
- cosmos/definitions/StdTx
- cosmos/definitions/Supply
- cosmos/definitions/TallyResult
- cosmos/definitions/TendermintValidator
- cosmos/definitions/TextProposal
- cosmos/definitions/TxQuery
- cosmos/definitions/TypesAbciMessageLog
- cosmos/definitions/TypesAbciMessageLogs
- cosmos/definitions/TypesAccAddress
- cosmos/definitions/TypesAddress
- cosmos/definitions/TypesAsset
- cosmos/definitions/TypesAssets
- cosmos/definitions/TypesAttribute
- cosmos/definitions/TypesBlockId
- cosmos/definitions/TypesCall
- cosmos/definitions/TypesCallResp
- cosmos/definitions/TypesCallsResp
- cosmos/definitions/TypesCoin
- cosmos/definitions/TypesCoins
- cosmos/definitions/TypesCommission
- cosmos/definitions/TypesCurrencies
- cosmos/definitions/TypesCurrency
- cosmos/definitions/TypesCurrentPrice
- cosmos/definitions/TypesDec
- cosmos/definitions/TypesDecCoin
- cosmos/definitions/TypesDecCoins
- cosmos/definitions/TypesDelegation
- cosmos/definitions/TypesDelegationDelegatorReward
- cosmos/definitions/TypesDelegationResponse
- cosmos/definitions/TypesDescription
- cosmos/definitions/TypesHeader
- cosmos/definitions/TypesHistoricalInfo
- cosmos/definitions/TypesId
- cosmos/definitions/TypesInt
- cosmos/definitions/TypesIssue
- cosmos/definitions/TypesMarket
- cosmos/definitions/TypesMarketExtended
- cosmos/definitions/TypesMarkets
- cosmos/definitions/TypesMintInfo
- cosmos/definitions/TypesMsg
- cosmos/definitions/TypesMsgBeginRedelegate
- cosmos/definitions/TypesMsgDelegate
- cosmos/definitions/TypesMsgFundPublicTreasuryPool
- cosmos/definitions/TypesMsgPostOrder
- cosmos/definitions/TypesMsgRevokeOrder
- cosmos/definitions/TypesMsgSetWithdrawAddress
- cosmos/definitions/TypesMsgUndelegate
- cosmos/definitions/TypesMsgWithdrawDelegatorReward
- cosmos/definitions/TypesOracle
- cosmos/definitions/TypesOracles
- cosmos/definitions/TypesOrder
- cosmos/definitions/TypesOrders
- cosmos/definitions/TypesPartSetHeader
- cosmos/definitions/TypesPool
- cosmos/definitions/TypesPostedPrice
- cosmos/definitions/TypesQueryDelegationRewardsResponse
- cosmos/definitions/TypesQueryDelegatorTotalRewardsResponse
- cosmos/definitions/TypesRedelegationEntry
- cosmos/definitions/TypesRedelegationEntryResponse
- cosmos/definitions/TypesRedelegationResponse
- cosmos/definitions/TypesSearchTxsResult
- cosmos/definitions/TypesStdFee
- cosmos/definitions/TypesStdSignature
- cosmos/definitions/TypesStdTx
- cosmos/definitions/TypesStringEvent
- cosmos/definitions/TypesStringEvents
- cosmos/definitions/TypesTx
- cosmos/definitions/TypesTxResponse
- cosmos/definitions/TypesTxVmStatus
- cosmos/definitions/TypesUint
- cosmos/definitions/TypesUnbondingDelegation
- cosmos/definitions/TypesUnbondingDelegationEntry
- cosmos/definitions/TypesValAddress
- cosmos/definitions/TypesValidator
- cosmos/definitions/TypesValidatorResp
- cosmos/definitions/TypesValidatorTokens
- cosmos/definitions/TypesValidators
- cosmos/definitions/TypesValidatorsConfirmationsResp
- cosmos/definitions/TypesValueResp
- cosmos/definitions/TypesVmStatus
- cosmos/definitions/TypesVmStatuses
- cosmos/definitions/TypesWithdraw
- cosmos/definitions/TypesWithdraws
- cosmos/definitions/UnbondingDelegation
- cosmos/definitions/UnbondingDelegationPair
- cosmos/definitions/UnbondingEntries
- cosmos/definitions/Validator
- cosmos/definitions/ValidatorAddress
- cosmos/definitions/ValidatorDistInfo
- cosmos/definitions/VersionConsensus
- cosmos/definitions/VmClientMoveFile
- cosmos/definitions/Vote
- cosmos/rests/axios
- cosmos/rests/fetch
- cosmos/utils
- cosmos/utils/Log
- cosmos/utils/Timer
- dfinance
- dfinance/AuthService
- dfinance/BankService
- dfinance/CurrenciesService
- dfinance/DistributionService
- dfinance/GovernanceService
- dfinance/MarketsService
- dfinance/MintService
- dfinance/MultisigService
- dfinance/OracleService
- dfinance/OrdersService
- dfinance/PoAService
- dfinance/SlashingService
- dfinance/StakingService
- dfinance/SupplyService
- dfinance/TendermintRpcService
- dfinance/TransactionsService
- dfinance/VmService
- dfinance/definitions
- dfinance/definitions/Address
- dfinance/definitions/AuthStdFee
- dfinance/definitions/AuthStdSignature
- dfinance/definitions/AuthStdTx
- dfinance/definitions/BaseReq
- dfinance/definitions/Block
- dfinance/definitions/BlockHeader
- dfinance/definitions/BlockId
- dfinance/definitions/BlockQuery
- dfinance/definitions/BroadcastTxCommitResult
- dfinance/definitions/BytesHexBytes
- dfinance/definitions/CcstorageCurrencies
- dfinance/definitions/CcstorageCurrency
- dfinance/definitions/CheckTxResult
- dfinance/definitions/Coin
- dfinance/definitions/CryptoAddress
- dfinance/definitions/Delegation
- dfinance/definitions/DelegationDelegatorReward
- dfinance/definitions/DelegatorTotalRewards
- dfinance/definitions/DeliverTxResult
- dfinance/definitions/Deposit
- dfinance/definitions/DistributionParams
- dfinance/definitions/Hash
- dfinance/definitions/KvPair
- dfinance/definitions/MarketsMarketExtended
- dfinance/definitions/MintParams
- dfinance/definitions/Msg
- dfinance/definitions/MsmoduleMsMsg
- dfinance/definitions/PaginatedQueryTxs
- dfinance/definitions/ParamChange
- dfinance/definitions/Proposer
- dfinance/definitions/PublicKey
- dfinance/definitions/Redelegation
- dfinance/definitions/RedelegationEntry
- dfinance/definitions/RestBaseReq
- dfinance/definitions/RestCcRespGetCurrencies
- dfinance/definitions/RestCcRespGetCurrency
- dfinance/definitions/RestCcRespGetIssue
- dfinance/definitions/RestCcRespGetWithdraw
- dfinance/definitions/RestCcRespGetWithdraws
- dfinance/definitions/RestCcRespStdTx
- dfinance/definitions/RestCompileReq
- dfinance/definitions/RestConfirmReq
- dfinance/definitions/RestDelegateRequest
- dfinance/definitions/RestErrorResponse
- dfinance/definitions/RestExecuteScriptReq
- dfinance/definitions/RestFundPublicTreasuryPoolReq
- dfinance/definitions/RestLcsViewReq
- dfinance/definitions/RestLcsViewResp
- dfinance/definitions/RestMarketsRespGetMarket
- dfinance/definitions/RestMarketsRespGetMarkets
- dfinance/definitions/RestMsRespGetCall
- dfinance/definitions/RestMsRespGetCalls
- dfinance/definitions/RestOracleRespGetAssets
- dfinance/definitions/RestOracleRespGetPrice
- dfinance/definitions/RestOracleRespGetRawPrices
- dfinance/definitions/RestOrdersRespGetOrder
- dfinance/definitions/RestOrdersRespGetOrders
- dfinance/definitions/RestOrdersRespPostOrder
- dfinance/definitions/RestOrdersRespRevokeOrder
- dfinance/definitions/RestPoaRespGetValidators
- dfinance/definitions/RestPostOrderMsg
- dfinance/definitions/RestPostOrderReq
- dfinance/definitions/RestPostPriceReq
- dfinance/definitions/RestPublishModuleReq
- dfinance/definitions/RestQueryAddressResp
- dfinance/definitions/RestQueryDecCoinsResp
- dfinance/definitions/RestQueryDecResp
- dfinance/definitions/RestQueryDelegationResp
- dfinance/definitions/RestQueryDelegationRewardsResp
- dfinance/definitions/RestQueryDelegationsResp
- dfinance/definitions/RestQueryDelegatorRewardsResp
- dfinance/definitions/RestQueryExtendedValidatorResp
- dfinance/definitions/RestQueryExtendedValidatorsResp
- dfinance/definitions/RestQueryHistoricalInfoResp
- dfinance/definitions/RestQueryMinterExtendedResp
- dfinance/definitions/RestQueryParamsResp
- dfinance/definitions/RestQueryPoolResp
- dfinance/definitions/RestQueryRedelegationsResp
- dfinance/definitions/RestQuerySwaggerValidatorDistInfoResp
- dfinance/definitions/RestQueryUnbondingDelegationResp
- dfinance/definitions/RestQueryUnbondingDelegationsResp
- dfinance/definitions/RestQueryValidatorResp
- dfinance/definitions/RestQueryValidatorsResp
- dfinance/definitions/RestRedelegateRequest
- dfinance/definitions/RestRevokeOrderMsg
- dfinance/definitions/RestRevokeOrderReq
- dfinance/definitions/RestRevokeReq
- dfinance/definitions/RestSetWithdrawalAddrReq
- dfinance/definitions/RestSubmitIssueReq
- dfinance/definitions/RestTxBeginRedelegate
- dfinance/definitions/RestTxFundPublicTreasuryPool
- dfinance/definitions/RestTxSetWithdrawAddress
- dfinance/definitions/RestTxUndelegate
- dfinance/definitions/RestTxWithdrawDelegatorReward
- dfinance/definitions/RestUndelegateRequest
- dfinance/definitions/RestUnstakeReq
- dfinance/definitions/RestVmData
- dfinance/definitions/RestVmRespCompile
- dfinance/definitions/RestVmRespLcsView
- dfinance/definitions/RestVmRespStdTx
- dfinance/definitions/RestVmTxStatus
- dfinance/definitions/RestWithdrawReq
- dfinance/definitions/RestWithdrawRewardsReq
- dfinance/definitions/SigningInfo
- dfinance/definitions/StakingCommission
- dfinance/definitions/StakingDescription
- dfinance/definitions/StakingParams
- dfinance/definitions/StdTx
- dfinance/definitions/Supply
- dfinance/definitions/TallyResult
- dfinance/definitions/TendermintValidator
- dfinance/definitions/TextProposal
- dfinance/definitions/TxQuery
- dfinance/definitions/TypesAbciMessageLog
- dfinance/definitions/TypesAbciMessageLogs
- dfinance/definitions/TypesAccAddress
- dfinance/definitions/TypesAddress
- dfinance/definitions/TypesAsset
- dfinance/definitions/TypesAssets
- dfinance/definitions/TypesAttribute
- dfinance/definitions/TypesBlockId
- dfinance/definitions/TypesCall
- dfinance/definitions/TypesCallResp
- dfinance/definitions/TypesCallsResp
- dfinance/definitions/TypesCoin
- dfinance/definitions/TypesCoins
- dfinance/definitions/TypesCommission
- dfinance/definitions/TypesCurrencies
- dfinance/definitions/TypesCurrency
- dfinance/definitions/TypesCurrentPrice
- dfinance/definitions/TypesDec
- dfinance/definitions/TypesDecCoin
- dfinance/definitions/TypesDecCoins
- dfinance/definitions/TypesDelegation
- dfinance/definitions/TypesDelegationDelegatorReward
- dfinance/definitions/TypesDelegationResponse
- dfinance/definitions/TypesDescription
- dfinance/definitions/TypesHeader
- dfinance/definitions/TypesHistoricalInfo
- dfinance/definitions/TypesId
- dfinance/definitions/TypesInt
- dfinance/definitions/TypesIssue
- dfinance/definitions/TypesMarket
- dfinance/definitions/TypesMarketExtended
- dfinance/definitions/TypesMarkets
- dfinance/definitions/TypesMintInfo
- dfinance/definitions/TypesMsg
- dfinance/definitions/TypesMsgBeginRedelegate
- dfinance/definitions/TypesMsgDelegate
- dfinance/definitions/TypesMsgFundPublicTreasuryPool
- dfinance/definitions/TypesMsgPostOrder
- dfinance/definitions/TypesMsgRevokeOrder
- dfinance/definitions/TypesMsgSetWithdrawAddress
- dfinance/definitions/TypesMsgUndelegate
- dfinance/definitions/TypesMsgWithdrawDelegatorReward
- dfinance/definitions/TypesOracle
- dfinance/definitions/TypesOracles
- dfinance/definitions/TypesOrder
- dfinance/definitions/TypesOrders
- dfinance/definitions/TypesPartSetHeader
- dfinance/definitions/TypesPool
- dfinance/definitions/TypesPostedPrice
- dfinance/definitions/TypesQueryDelegationRewardsResponse
- dfinance/definitions/TypesQueryDelegatorTotalRewardsResponse
- dfinance/definitions/TypesRedelegationEntry
- dfinance/definitions/TypesRedelegationEntryResponse
- dfinance/definitions/TypesRedelegationResponse
- dfinance/definitions/TypesSearchTxsResult
- dfinance/definitions/TypesStdFee
- dfinance/definitions/TypesStdSignature
- dfinance/definitions/TypesStdTx
- dfinance/definitions/TypesStringEvent
- dfinance/definitions/TypesStringEvents
- dfinance/definitions/TypesTx
- dfinance/definitions/TypesTxResponse
- dfinance/definitions/TypesTxVmStatus
- dfinance/definitions/TypesUint
- dfinance/definitions/TypesUnbondingDelegation
- dfinance/definitions/TypesUnbondingDelegationEntry
- dfinance/definitions/TypesValAddress
- dfinance/definitions/TypesValidator
- dfinance/definitions/TypesValidatorResp
- dfinance/definitions/TypesValidatorTokens
- dfinance/definitions/TypesValidators
- dfinance/definitions/TypesValidatorsConfirmationsResp
- dfinance/definitions/TypesValueResp
- dfinance/definitions/TypesVmStatus
- dfinance/definitions/TypesVmStatuses
- dfinance/definitions/TypesWithdraw
- dfinance/definitions/TypesWithdraws
- dfinance/definitions/UnbondingDelegation
- dfinance/definitions/UnbondingDelegationPair
- dfinance/definitions/UnbondingEntries
- dfinance/definitions/Validator
- dfinance/definitions/ValidatorAddress
- dfinance/definitions/ValidatorDistInfo
- dfinance/definitions/VersionConsensus
- dfinance/definitions/VmClientMoveFile
- dfinance/definitions/Vote
- dfinance/rests/axios
- dfinance/rests/fetch
- dfinance/utils
- dfinance/utils/Log
- dfinance/utils/Timer
- extra/DB
- extra/DB/__tests__/index.test
- extra/combined
- extra/combined/balances
- extra/crypto
- extra/crypto/__tests__/index.test
- extra/transactions/__tests__/index.test
- extra/transactions/delegationTransaction
- extra/transactions/destroyTransaction
- extra/transactions/governanceChangeTransaction
- extra/transactions/governanceDepositTransaction
- extra/transactions/governanceTransaction
- extra/transactions/governanceVoteTransaction
- extra/transactions/moneyTransaction
- extra/transactions/redelegationTransaction
- extra/transactions/transaction
- extra/transactions/types
- extra/transactions/unbondingDelegationTransaction
- extra/transactions/utils
- extra/transactions/withdrawRewardTransaction
- mocks
Classes
Class: SDK
cosmos.SDK
Table of contents
Constructors
Properties
- auth
- bank
- configurations
- currencies
- distribution
- governance
- markets
- mint
- multisig
- oracle
- orders
- poA
- slashing
- staking
- supply
- tendermintRpc
- transactions
- vm
Methods
Constructors
constructor
+ new SDK(configurations?
: IRequestConfiguration): SDK
Parameters:
Name | Type | Default value |
---|---|---|
configurations |
IRequestConfiguration | {} |
Returns: SDK
Defined in: cosmos/index.ts:59
Properties
auth
• auth: typeof AuthService
Defined in: cosmos/index.ts:43
bank
• bank: typeof BankService
Defined in: cosmos/index.ts:44
configurations
• Readonly
configurations: IRequestConfiguration= {}
currencies
• currencies: typeof CurrenciesService
Defined in: cosmos/index.ts:45
distribution
• distribution: typeof DistributionService
Defined in: cosmos/index.ts:46
governance
• governance: typeof GovernanceService
Defined in: cosmos/index.ts:47
markets
• markets: typeof MarketsService
Defined in: cosmos/index.ts:48
mint
• mint: typeof MintService
Defined in: cosmos/index.ts:49
multisig
• multisig: typeof MultisigService
Defined in: cosmos/index.ts:50
oracle
• oracle: typeof OracleService
Defined in: cosmos/index.ts:51
orders
• orders: typeof OrdersService
Defined in: cosmos/index.ts:52
poA
• poA: typeof PoAService
Defined in: cosmos/index.ts:53
slashing
• slashing: typeof SlashingService
Defined in: cosmos/index.ts:54
staking
• staking: typeof StakingService
Defined in: cosmos/index.ts:55
supply
• supply: typeof SupplyService
Defined in: cosmos/index.ts:56
tendermintRpc
• tendermintRpc: typeof TendermintRpcService
Defined in: cosmos/index.ts:57
transactions
• transactions: typeof TransactionsService
Defined in: cosmos/index.ts:58
vm
• vm: typeof VmService
Defined in: cosmos/index.ts:59
Methods
getConfigurations
▸ getConfigurations(method
: any, contentType
: string, url
: string, configurations?
: IRequestConfiguration): IRequestConfiguration
Parameters:
Name | Type |
---|---|
method |
any |
contentType |
string |
url |
string |
configurations? |
IRequestConfiguration |
Returns: IRequestConfiguration
Defined in: cosmos/index.ts:135
request
▸ request(configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/index.ts:131
JSDK / cosmos/AuthService / AuthService
Class: AuthService
cosmos/AuthService.AuthService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new AuthService(): AuthService
Returns: AuthService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/AuthService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/AuthService.ts:210
Methods
getAuthAccountsAddress
▸ Static
getAuthAccountsAddress<Return>(parameters
: { address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the account information on blockchain
200 - Account information on the blockchain 500 - Server internel error
method
getAuthAccountsAddress
see
/auth/accounts/{address}
Type parameters:
Name | Default |
---|---|
Return |
{ type : string ; value : { account_number : string ; address : string ; coins : Coin[] ; public_key : PublicKey ; sequence : string } } |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.address |
string | (in path) - Account address |
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ type: string, value: { * account_number: string, * address: string, * coins: Coin[], * public_key: PublicKey, * sequence: string } }>}
Defined in: cosmos/AuthService.ts:238
JSDK / cosmos/BankService / BankService
Class: BankService
cosmos/BankService.BankService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new BankService(): BankService
Returns: BankService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/BankService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/BankService.ts:210
Methods
getBankBalancesAddress
▸ Static
getBankBalancesAddress<Return>(parameters
: { address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the account balances
200 - Account balances 500 - Server internal error
method
getBankBalancesAddress
see
/bank/balances/{address}
Type parameters:
Name | Default |
---|---|
Return |
Coin[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.address |
string | (in path) - Account address in bech32 format |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/BankService.ts:268
postBankAccountsAddressTransfers
▸ Static
postBankAccountsAddressTransfers<Return>(parameters
: { account
: { amount
: Coin[] ; base_req
: BaseReq } ; address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Send coins from one account to another
202 - Tx was succesfully generated 400 - Invalid request 500 - Server internal error
method
postBankAccountsAddressTransfers
see
/bank/accounts/{address}/transfers
Type parameters:
Name | Default |
---|---|
Return |
any |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.account |
object | - |
parameters.account.amount |
Coin[] | - |
parameters.account.base_req |
BaseReq | - |
parameters.address |
string | (in path) - Account address in bech32 format |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/BankService.ts:234
JSDK / cosmos/CurrenciesService / CurrenciesService
Class: CurrenciesService
cosmos/CurrenciesService.CurrenciesService
Table of contents
Constructors
Properties
Methods
- getCurrencies
- getCurrenciesCurrencyDenom
- getCurrenciesIssueIssueId
- getCurrenciesWithdrawWithdrawId
- getCurrenciesWithdraws
- putCurrenciesIssue
- putCurrenciesUnstake
- putCurrenciesWithdraw
Constructors
constructor
+ new CurrenciesService(): CurrenciesService
Returns: CurrenciesService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/CurrenciesService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/CurrenciesService.ts:210
Methods
getCurrencies
▸ Static
getCurrencies<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get all registered currencies
200 - OK 500 - Returned on server error
method
getCurrencies
see
/currencies
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetCurrencies |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:227
getCurrenciesCurrencyDenom
▸ Static
getCurrenciesCurrencyDenom<Return>(parameters
: { denom
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency
description
Get currency by denom
200 - OK 500 - Returned on server error
method
getCurrenciesCurrencyDenom
see
/currencies/currency/{denom}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetCurrency |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.denom |
string | (in path) - currency denomination symbol |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:254
getCurrenciesIssueIssueId
▸ Static
getCurrenciesIssueIssueId<Return>(parameters
: { issueID
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency issue
description
Get currency issue by issueID
200 - OK 500 - Returned on server error
method
getCurrenciesIssueIssueId
see
/currencies/issue/{issueID}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetIssue |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.issueID |
string | (in path) - issueID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:321
getCurrenciesWithdrawWithdrawId
▸ Static
getCurrenciesWithdrawWithdrawId<Return>(parameters
: { withdrawID
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency withdraw
description
Get currency withdraw by withdrawID
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getCurrenciesWithdrawWithdrawId
see
/currencies/withdraw/{withdrawID}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetWithdraw |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.withdrawID |
number | (in path) - withdrawID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:424
getCurrenciesWithdraws
▸ Static
getCurrenciesWithdraws<Return>(parameters
: { limit?
: number ; page?
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency withdraws
description
Get array of Withdraw objects with pagination
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getCurrenciesWithdraws
see
/currencies/withdraws
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetWithdraws |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
number | (in query) - items per page (default: 100) |
parameters.page? |
number | (in query) - page number (first page: 1) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:458
putCurrenciesIssue
▸ Static
putCurrenciesIssue<Return>(parameters
: { request
: RestSubmitIssueReq }, options?
: IRequestConfiguration): Promise<Return>
description
Submit issue
description
Get submit new issue multi signature message stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesIssue
see
/currencies/issue
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestSubmitIssueReq | (in body) - Submit issue request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:287
putCurrenciesUnstake
▸ Static
putCurrenciesUnstake<Return>(parameters
: { request
: RestUnstakeReq }, options?
: IRequestConfiguration): Promise<Return>
description
Unstake tx
description
Get new unstake multi signature message stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesUnstake
see
/currencies/unstake
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestUnstakeReq | (in body) - Submit unstake request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:354
putCurrenciesWithdraw
▸ Static
putCurrenciesWithdraw<Return>(parameters
: { request
: RestWithdrawReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw currency
description
Get withdraw currency coins from account balance stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesWithdraw
see
/currencies/withdraw
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestWithdrawReq | (in body) - Withdraw request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/CurrenciesService.ts:389
JSDK / cosmos/DistributionService / DistributionService
Class: DistributionService
cosmos/DistributionService.DistributionService
Table of contents
Constructors
Properties
Methods
- getDistributionCommunityPool
- getDistributionDelegatorsDelegatorAddrRewards
- getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
- getDistributionDelegatorsDelegatorAddrWithdrawAddress
- getDistributionParameters
- getDistributionPoolPoolName
- getDistributionValidatorExtendedValidatorAddr
- getDistributionValidatorsExtended
- getDistributionValidatorsValidatorAddr
- getDistributionValidatorsValidatorAddrOutstandingRewards
- getDistributionValidatorsValidatorAddrRewards
- postDistributionDelegatorsDelegatorAddrRewards
- postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
- postDistributionDelegatorsDelegatorAddrWithdrawAddress
- postDistributionPublicTreasuryPool
- postDistributionValidatorsValidatorAddrRewards
Constructors
constructor
+ new DistributionService(): DistributionService
Returns: DistributionService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/DistributionService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/DistributionService.ts:210
Methods
getDistributionCommunityPool
▸ Static
getDistributionCommunityPool<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Community pool parameters
200 - OK 500 - Internal Server Error
method
getDistributionCommunityPool
see
/distribution/community_pool
Type parameters:
Name | Default |
---|---|
Return |
Coin[] |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:227
getDistributionDelegatorsDelegatorAddrRewards
▸ Static
getDistributionDelegatorsDelegatorAddrRewards<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the total rewards balance from all delegations
description
Get the sum of all the rewards earned by delegations by a single delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrRewards
see
/distribution/delegators/{delegatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegatorRewardsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:255
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
▸ Static
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query a delegation reward
description
Query a single delegation reward by a delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
see
/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegationRewardsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:326
getDistributionDelegatorsDelegatorAddrWithdrawAddress
▸ Static
getDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the rewards withdrawal address
description
Get the delegations' rewards withdrawal address. This is the address in which the user will receive the reward funds
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrWithdrawAddress
see
/distribution/delegators/{delegatorAddr}/withdraw_address
Type parameters:
Name | Default |
---|---|
Return |
RestQueryAddressResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:403
getDistributionParameters
▸ Static
getDistributionParameters<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Fee distribution parameters
description
Fee distribution parameters
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionParameters
see
/distribution/parameters
Type parameters:
Name | Default |
---|---|
Return |
RestQueryParamsResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:477
getDistributionPoolPoolName
▸ Static
getDistributionPoolPoolName<Return>(parameters
: { poolName
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the amount held in the specified pool
description
Get the amount held in the specified pool
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionPoolPoolName
see
/distribution/pool/{poolName}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.poolName |
string | (in path) - PoolName: LiquidityProvidersPool, FoundationPool, PublicTreasuryPool, HARP |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:505
getDistributionValidatorExtendedValidatorAddr
▸ Static
getDistributionValidatorExtendedValidatorAddr<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the extended information from a single validator
description
Query the extended information from a single validator containing distribution params
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorExtendedValidatorAddr
see
/distribution/validator_extended/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryExtendedValidatorResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:573
getDistributionValidatorsExtended
▸ Static
getDistributionValidatorsExtended<Return>(parameters
: { limit?
: string ; page?
: string ; status?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the extended information from multiple validators
description
Query the extended information from multiple validators containing distribution params
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsExtended
see
/distribution/validators_extended
Type parameters:
Name | Default |
---|---|
Return |
RestQueryExtendedValidatorsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
string | (in query) - The maximum number of items per page |
parameters.page? |
string | (in query) - The page number |
parameters.status? |
string | (in query) - The validator bond status. Must be either 'bonded', 'unbonded', or 'unbonding' |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:747
getDistributionValidatorsValidatorAddr
▸ Static
getDistributionValidatorsValidatorAddr<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Validator distribution information
description
Query the distribution information of a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddr
see
/distribution/validators/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQuerySwaggerValidatorDistInfoResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:606
getDistributionValidatorsValidatorAddrOutstandingRewards
▸ Static
getDistributionValidatorsValidatorAddrOutstandingRewards<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Fee distribution outstanding rewards of a single validator
description
Fee distribution outstanding rewards of a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddrOutstandingRewards
see
/distribution/validators/{validatorAddr}/outstanding_rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:639
getDistributionValidatorsValidatorAddrRewards
▸ Static
getDistributionValidatorsValidatorAddrRewards<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Commission and self-delegation rewards of a single validator
description
Query the commission and self-delegation rewards of validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddrRewards
see
/distribution/validators/{validatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:675
postDistributionDelegatorsDelegatorAddrRewards
▸ Static
postDistributionDelegatorsDelegatorAddrRewards<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestWithdrawRewardsReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw all the delegator's delegation rewards
description
Withdraw all the delegator's delegation rewards
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrRewards
see
/distribution/delegators/{delegatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestTxWithdrawDelegatorReward[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:289
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
▸ Static
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestWithdrawRewardsReq ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw a delegation reward
description
Withdraw a delegator's delegation reward from a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
see
/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestTxWithdrawDelegatorReward[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:364
postDistributionDelegatorsDelegatorAddrWithdrawAddress
▸ Static
postDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestSetWithdrawalAddrReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw a delegation reward
description
Withdraw a delegator's delegation reward from a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrWithdrawAddress
see
/distribution/delegators/{delegatorAddr}/withdraw_address
Type parameters:
Name | Default |
---|---|
Return |
RestTxSetWithdrawAddress[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestSetWithdrawalAddrReq | (in body) - SetWithdrawalAddrReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:440
postDistributionPublicTreasuryPool
▸ Static
postDistributionPublicTreasuryPool<Return>(parameters
: { postRequest
: RestFundPublicTreasuryPoolReq }, options?
: IRequestConfiguration): Promise<Return>
description
Fund the public treasury pool
description
Fund the public treasury pool
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionPublicTreasuryPool
see
/distribution/public_treasury_pool
Type parameters:
Name | Default |
---|---|
Return |
RestTxFundPublicTreasuryPool[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestFundPublicTreasuryPoolReq | (in body) - FundPublicTreasuryPoolReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:538
postDistributionValidatorsValidatorAddrRewards
▸ Static
postDistributionValidatorsValidatorAddrRewards<Return>(parameters
: { postRequest
: RestWithdrawRewardsReq ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw the validator's rewards
description
Withdraw the validator's self-delegation and commissions rewards
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionValidatorsValidatorAddrRewards
see
/distribution/validators/{validatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
TypesStdTx[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/DistributionService.ts:709
JSDK / cosmos/GovernanceService / GovernanceService
Class: GovernanceService
cosmos/GovernanceService.GovernanceService
Table of contents
Constructors
Properties
Methods
- getGovParametersDeposit
- getGovParametersTallying
- getGovParametersVoting
- getGovProposals
- getGovProposalsProposalId
- getGovProposalsProposalIdDeposits
- getGovProposalsProposalIdDepositsDepositor
- getGovProposalsProposalIdProposer
- getGovProposalsProposalIdTally
- getGovProposalsProposalIdVotes
- getGovProposalsProposalIdVotesVoter
- postGovProposals
- postGovProposalsParamChange
- postGovProposalsProposalIdDeposits
- postGovProposalsProposalIdVotes
Constructors
constructor
+ new GovernanceService(): GovernanceService
Returns: GovernanceService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/GovernanceService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/GovernanceService.ts:210
Methods
getGovParametersDeposit
▸ Static
getGovParametersDeposit<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Query governance deposit parameters
description
Query governance deposit parameters. The max_deposit_period units are in nanoseconds.
200 - OK 400 - is not a valid query request path 404 - Found no deposit parameters 500 - Internal Server Error
method
getGovParametersDeposit
see
/gov/parameters/deposit
Type parameters:
Name | Default |
---|---|
Return |
{ max_deposit_period : string ; min_deposit : Coin[] } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ max_deposit_period: string, min_deposit: Coin[] }>}
Defined in: cosmos/GovernanceService.ts:233
getGovParametersTallying
▸ Static
getGovParametersTallying<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Query governance tally parameters
description
Query governance tally parameters
200 - OK 400 - is not a valid query request path 404 - Found no tally parameters 500 - Internal Server Error
method
getGovParametersTallying
see
/gov/parameters/tallying
Type parameters:
Name | Default |
---|---|
Return |
{ governance_penalty : string ; threshold : string ; veto : string } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ governance_penalty: string, threshold: string, veto: string }>}
Defined in: cosmos/GovernanceService.ts:266
getGovParametersVoting
▸ Static
getGovParametersVoting<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Query governance voting parameters
description
Query governance voting parameters. The voting_period units are in nanoseconds.
200 - OK 400 - is not a valid query request path 404 - Found no voting parameters 500 - Internal Server Error
method
getGovParametersVoting
see
/gov/parameters/voting
Type parameters:
Name | Default |
---|---|
Return |
{ voting_period : string } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ voting_period: string }>}
Defined in: cosmos/GovernanceService.ts:297
getGovProposals
▸ Static
getGovProposals<Return>(parameters
: { depositor?
: string ; status?
: string ; voter?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query proposals
description
Query proposals information with parameters
200 - OK 400 - Invalid query parameters 500 - Internal Server Error
method
getGovProposals
see
/gov/proposals
Type parameters:
Name | Default |
---|---|
Return |
TextProposal[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.depositor? |
string | (in query) - depositor address |
parameters.status? |
string | (in query) - proposal status, valid values can be '"deposit_period"', '"voting_period"', '"passed"', '"rejected"' |
parameters.voter? |
string | (in query) - voter address |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:327
getGovProposalsProposalId
▸ Static
getGovProposalsProposalId<Return>(parameters
: { proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query a proposal
description
Query a proposal by id
200 - OK 400 - Invalid proposal id 500 - Internal Server Error
method
getGovProposalsProposalId
see
/gov/proposals/{proposalId}
Type parameters:
Name | Default |
---|---|
Return |
TextProposal |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:462
getGovProposalsProposalIdDeposits
▸ Static
getGovProposalsProposalIdDeposits<Return>(parameters
: { proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query deposits
description
Query deposits by proposalId
200 - OK 400 - Invalid proposal id 500 - Internal Server Error
method
getGovProposalsProposalIdDeposits
see
/gov/proposals/{proposalId}/deposits
Type parameters:
Name | Default |
---|---|
Return |
Deposit[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:495
getGovProposalsProposalIdDepositsDepositor
▸ Static
getGovProposalsProposalIdDepositsDepositor<Return>(parameters
: { depositor
: string ; proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query deposit
description
Query deposit by proposalId and depositor address
200 - OK 400 - Invalid proposal id or depositor address 404 - Found no deposit 500 - Internal Server Error
method
getGovProposalsProposalIdDepositsDepositor
see
/gov/proposals/{proposalId}/deposits/{depositor}
Type parameters:
Name | Default |
---|---|
Return |
Deposit |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.depositor |
string | (in path) - Bech32 depositor address |
parameters.proposalId |
string | (in path) - proposal id |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:572
getGovProposalsProposalIdProposer
▸ Static
getGovProposalsProposalIdProposer<Return>(parameters
: { proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query proposer
description
Query for the proposer for a proposal
200 - OK 400 - Invalid proposal ID 500 - Internal Server Error
method
getGovProposalsProposalIdProposer
see
/gov/proposals/{proposalId}/proposer
Type parameters:
Name | Default |
---|---|
Return |
Proposer |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:608
getGovProposalsProposalIdTally
▸ Static
getGovProposalsProposalIdTally<Return>(parameters
: { proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get a proposal's tally result at the current time
description
Gets a proposal's tally result at the current time. If the proposal is pending deposits (i.e status 'DepositPeriod') it returns an empty tally result.
200 - OK 400 - Invalid proposal id 500 - Internal Server Error
method
getGovProposalsProposalIdTally
see
/gov/proposals/{proposalId}/tally
Type parameters:
Name | Default |
---|---|
Return |
TallyResult |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) - proposal id |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:641
getGovProposalsProposalIdVotes
▸ Static
getGovProposalsProposalIdVotes<Return>(parameters
: { proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query voters
description
Query voters information by proposalId
200 - OK 400 - Invalid proposal id 500 - Internal Server Error
method
getGovProposalsProposalIdVotes
see
/gov/proposals/{proposalId}/votes
Type parameters:
Name | Default |
---|---|
Return |
Vote[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) - proposal id |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:674
getGovProposalsProposalIdVotesVoter
▸ Static
getGovProposalsProposalIdVotesVoter<Return>(parameters
: { proposalId
: string ; voter
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query vote
description
Query vote information by proposal Id and voter address
200 - OK 400 - Invalid proposal id or voter address 404 - Found no vote 500 - Internal Server Error
method
getGovProposalsProposalIdVotesVoter
see
/gov/proposals/{proposalId}/votes/{voter}
Type parameters:
Name | Default |
---|---|
Return |
Vote |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.proposalId |
string | (in path) - proposal id |
parameters.voter |
string | (in path) - Bech32 voter address |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:755
postGovProposals
▸ Static
postGovProposals<Return>(parameters
: { post_proposal_body
: { base_req
: BaseReq ; description
: string ; initial_deposit
: Coin[] ; proposal_type
: string ; proposer
: string ; title
: string } }, options?
: IRequestConfiguration): Promise<Return>
description
Submit a proposal
description
Send transaction to submit a proposal
200 - Tx was succesfully generated 400 - Invalid proposal body 500 - Internal Server Error
method
postGovProposals
see
/gov/proposals
Type parameters:
Name | Default |
---|---|
Return |
StdTx |
Parameters:
Name | Type |
---|---|
parameters |
object |
parameters.post_proposal_body |
object |
parameters.post_proposal_body.base_req |
BaseReq |
parameters.post_proposal_body.description |
string |
parameters.post_proposal_body.initial_deposit |
Coin[] |
parameters.post_proposal_body.proposal_type |
string |
parameters.post_proposal_body.proposer |
string |
parameters.post_proposal_body.title |
string |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:371
postGovProposalsParamChange
▸ Static
postGovProposalsParamChange<Return>(parameters
: { post_proposal_body
: { base_req
: BaseReq ; changes
: ParamChange[] ; deposit
: Coin[] ; description
: string ; proposer
: string ; title
: string } }, options?
: IRequestConfiguration): Promise<Return>
description
Generate a parameter change proposal transaction
description
Generate a parameter change proposal transaction
200 - The transaction was succesfully generated 400 - Invalid proposal body 500 - Internal Server Error
method
postGovProposalsParamChange
see
/gov/proposals/param_change
Type parameters:
Name | Default |
---|---|
Return |
StdTx |
Parameters:
Name | Type |
---|---|
parameters |
object |
parameters.post_proposal_body |
object |
parameters.post_proposal_body.base_req |
BaseReq |
parameters.post_proposal_body.changes |
ParamChange[] |
parameters.post_proposal_body.deposit |
Coin[] |
parameters.post_proposal_body.description |
string |
parameters.post_proposal_body.proposer |
string |
parameters.post_proposal_body.title |
string |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:420
postGovProposalsProposalIdDeposits
▸ Static
postGovProposalsProposalIdDeposits<Return>(parameters
: { post_deposit_body
: { amount
: Coin[] ; base_req
: BaseReq ; depositor
: string } ; proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Deposit tokens to a proposal
description
Send transaction to deposit tokens to a proposal
200 - OK 400 - Invalid proposal id or deposit body 401 - Key password is wrong 500 - Internal Server Error
method
postGovProposalsProposalIdDeposits
see
/gov/proposals/{proposalId}/deposits
Type parameters:
Name | Default |
---|---|
Return |
BroadcastTxCommitResult |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.post_deposit_body |
object | - |
parameters.post_deposit_body.amount |
Coin[] | - |
parameters.post_deposit_body.base_req |
BaseReq | - |
parameters.post_deposit_body.depositor |
string | - |
parameters.proposalId |
string | (in path) - proposal id |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:534
postGovProposalsProposalIdVotes
▸ Static
postGovProposalsProposalIdVotes<Return>(parameters
: { post_vote_body
: { base_req
: BaseReq ; option
: string ; voter
: string } ; proposalId
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Vote a proposal
description
Send transaction to vote a proposal
200 - OK 400 - Invalid proposal id or vote body 401 - Key password is wrong 500 - Internal Server Error
method
postGovProposalsProposalIdVotes
see
/gov/proposals/{proposalId}/votes
Type parameters:
Name | Default |
---|---|
Return |
BroadcastTxCommitResult |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.post_vote_body |
object | - |
parameters.post_vote_body.base_req |
BaseReq | - |
parameters.post_vote_body.option |
string | - |
parameters.post_vote_body.voter |
string | - |
parameters.proposalId |
string | (in path) - proposal id |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/GovernanceService.ts:713
JSDK / cosmos/MarketsService / MarketsService
Class: MarketsService
cosmos/MarketsService.MarketsService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new MarketsService(): MarketsService
Returns: MarketsService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/MarketsService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/MarketsService.ts:210
Methods
getMarkets
▸ Static
getMarkets<Return>(parameters
: { baseAssetDenom?
: string ; limit?
: number ; page?
: number ; quoteAssetDenom?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get markets
description
Get array of Market objects with pagination and filters
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMarkets
see
/markets
Type parameters:
Name | Default |
---|---|
Return |
RestMarketsRespGetMarkets |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.baseAssetDenom? |
string | (in query) - BaseAsset denom filter |
parameters.limit? |
number | (in query) - items per page (default: 100) |
parameters.page? |
number | (in query) - page number (first page: 1) |
parameters.quoteAssetDenom? |
string | (in query) - QuoteAsset denom filter |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MarketsService.ts:234
getMarketsMarketId
▸ Static
getMarketsMarketId<Return>(parameters
: { marketID
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get market
description
Get Market object by marketID
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMarketsMarketId
see
/markets/{marketID}
Type parameters:
Name | Default |
---|---|
Return |
RestMarketsRespGetMarket |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.marketID |
string | (in path) - marketID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MarketsService.ts:277
JSDK / cosmos/MintService / MintService
Class: MintService
cosmos/MintService.MintService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new MintService(): MintService
Returns: MintService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/MintService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/MintService.ts:210
Methods
getMintingAnnualProvisions
▸ Static
getMintingAnnualProvisions<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Current minting annual provisions value
description
Current minting annual provisions value
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMintingAnnualProvisions
see
/minting/annual-provisions
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MintService.ts:229
getMintingInflation
▸ Static
getMintingInflation<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Current minting inflation value
description
Current minting inflation value
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMintingInflation
see
/minting/inflation
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MintService.ts:255
getMintingMinterExtended
▸ Static
getMintingMinterExtended<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Current minting extended state
description
Current minting extended state
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMintingMinterExtended
see
/minting/minter-extended
Type parameters:
Name | Default |
---|---|
Return |
RestQueryMinterExtendedResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MintService.ts:281
getMintingParameters
▸ Static
getMintingParameters<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Minting module parameters
description
Minting module parameters
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMintingParameters
see
/minting/parameters
Type parameters:
Name | Default |
---|---|
Return |
RestQueryParamsResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MintService.ts:307
JSDK / cosmos/MultisigService / MultisigService
Class: MultisigService
cosmos/MultisigService.MultisigService
Table of contents
Constructors
Properties
Methods
- getMultisigCallCallId
- getMultisigCalls
- getMultisigUniqueUniqueId
- putMultisigConfirm
- putMultisigRevoke
Constructors
constructor
+ new MultisigService(): MultisigService
Returns: MultisigService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/MultisigService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/MultisigService.ts:210
Methods
getMultisigCallCallId
▸ Static
getMultisigCallCallId<Return>(parameters
: { callID
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get call
description
Get call object by it's ID
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getMultisigCallCallId
see
/multisig/call/{callID}
Type parameters:
Name | Default |
---|---|
Return |
RestMsRespGetCall |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.callID |
number | (in path) - callID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MultisigService.ts:231
getMultisigCalls
▸ Static
getMultisigCalls<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get active calls
description
Get active call objects
200 - OK 500 - Returned on server error
method
getMultisigCalls
see
/multisig/calls
Type parameters:
Name | Default |
---|---|
Return |
RestMsRespGetCalls |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MultisigService.ts:261
getMultisigUniqueUniqueId
▸ Static
getMultisigUniqueUniqueId<Return>(parameters
: { uniqueID
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get call
description
Get call object by it's uniqueID
200 - OK 500 - Returned on server error
method
getMultisigUniqueUniqueId
see
/multisig/unique/{uniqueID}
Type parameters:
Name | Default |
---|---|
Return |
RestMsRespGetCall |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.uniqueID |
string | (in path) - call uniqueID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MultisigService.ts:358
putMultisigConfirm
▸ Static
putMultisigConfirm<Return>(parameters
: { request
: RestConfirmReq }, options?
: IRequestConfiguration): Promise<Return>
description
Confirm call
description
Get confirm multi signature call by PoA validator stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putMultisigConfirm
see
/multisig/confirm
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestConfirmReq | (in body) - Confirm request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MultisigService.ts:289
putMultisigRevoke
▸ Static
putMultisigRevoke<Return>(parameters
: { request
: RestRevokeReq }, options?
: IRequestConfiguration): Promise<Return>
description
Revoke call
description
Get revoke multi signature call vote by PoA validator stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putMultisigRevoke
see
/multisig/revoke
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestRevokeReq | (in body) - Revoke request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/MultisigService.ts:324
JSDK / cosmos/OracleService / OracleService
Class: OracleService
cosmos/OracleService.OracleService
Table of contents
Constructors
Properties
Methods
- getOracleAssets
- getOracleCurrentpriceAssetCode
- getOracleRawpricesAssetCodeBlockHeight
- putOracleRawprices
Constructors
constructor
+ new OracleService(): OracleService
Returns: OracleService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/OracleService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/OracleService.ts:210
Methods
getOracleAssets
▸ Static
getOracleAssets<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get assets
description
Get asset objects
200 - OK 400 - Returned if the request doesn't have valid query params 404 - Returned if requested data wasn't found 500 - Returned on server error
method
getOracleAssets
see
/oracle/assets
Type parameters:
Name | Default |
---|---|
Return |
RestOracleRespGetAssets |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OracleService.ts:230
getOracleCurrentpriceAssetCode
▸ Static
getOracleCurrentpriceAssetCode<Return>(parameters
: { assetCode
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get current Price
description
Get current Price by assetCode
200 - OK 400 - Returned if the request doesn't have valid query params 404 - Returned if requested data wasn't found 500 - Returned on server error
method
getOracleCurrentpriceAssetCode
see
/oracle/currentprice/{assetCode}
Type parameters:
Name | Default |
---|---|
Return |
RestOracleRespGetPrice |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.assetCode |
string | (in path) - asset code |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OracleService.ts:259
getOracleRawpricesAssetCodeBlockHeight
▸ Static
getOracleRawpricesAssetCodeBlockHeight<Return>(parameters
: { assetCode
: string ; blockHeight
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get rawPrices
description
Get rawPrice objects by assetCode and blockHeight
200 - OK 400 - Returned if the request doesn't have valid query params 404 - Returned if requested data wasn't found 500 - Returned on server error
method
getOracleRawpricesAssetCodeBlockHeight
see
/oracle/rawprices/{assetCode}/{blockHeight}
Type parameters:
Name | Default |
---|---|
Return |
RestOracleRespGetRawPrices |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.assetCode |
string | (in path) - asset code |
parameters.blockHeight |
number | (in path) - block height rawPrices relates to |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OracleService.ts:329
putOracleRawprices
▸ Static
putOracleRawprices<Return>(parameters
: { postRequest
: RestPostPriceReq }, options?
: IRequestConfiguration): Promise<Return>
description
Post asset rawPrice
description
Send asset rawPrice signed Tx
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putOracleRawprices
see
/oracle/rawprices
Type parameters:
Name | Default |
---|---|
Return |
RestOracleRespGetAssets |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestPostPriceReq | (in body) - PostPrice request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OracleService.ts:292
JSDK / cosmos/OrdersService / OrdersService
Class: OrdersService
cosmos/OrdersService.OrdersService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new OrdersService(): OrdersService
Returns: OrdersService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/OrdersService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/OrdersService.ts:210
Methods
getOrders
▸ Static
getOrders<Return>(parameters
: { direction?
: string ; limit?
: number ; marketID?
: string ; owner?
: string ; page?
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get orders
description
Get array of Order objects with pagination and filters
200 - OK 400 - Returned if the request doesn't have valid query/path params 500 - Returned on server error
method
getOrders
see
/orders
Type parameters:
Name | Default |
---|---|
Return |
RestOrdersRespGetOrders |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.direction? |
string | (in query) - direction filter (bid/ask) |
parameters.limit? |
number | (in query) - items per page (default: 100) |
parameters.marketID? |
string | (in query) - marketID filter (bid/ask) |
parameters.owner? |
string | (in query) - owner filter |
parameters.page? |
number | (in query) - page number (first page: 1) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OrdersService.ts:235
getOrdersOrderId
▸ Static
getOrdersOrderId<Return>(parameters
: { orderID
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get order
description
Get Order object by orderID
200 - OK 400 - Returned if the request doesn't have valid query/path params 500 - Returned on server error
method
getOrdersOrderId
see
/orders/{orderID}
Type parameters:
Name | Default |
---|---|
Return |
RestOrdersRespGetOrder |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.orderID |
string | (in path) - orderID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OrdersService.ts:350
putOrdersPost
▸ Static
putOrdersPost<Return>(parameters
: { postRequest
: RestPostOrderReq }, options?
: IRequestConfiguration): Promise<Return>
description
Post new order
description
Post new order
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putOrdersPost
see
/orders/post
Type parameters:
Name | Default |
---|---|
Return |
RestOrdersRespPostOrder |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestPostOrderReq | (in body) - PostOrder request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OrdersService.ts:280
putOrdersRevoke
▸ Static
putOrdersRevoke<Return>(parameters
: { postRequest
: RestRevokeOrderReq }, options?
: IRequestConfiguration): Promise<Return>
description
Revoke order
description
Revoke order
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putOrdersRevoke
see
/orders/revoke
Type parameters:
Name | Default |
---|---|
Return |
RestOrdersRespRevokeOrder |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestRevokeOrderReq | (in body) - RevokeOrder request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/OrdersService.ts:315
JSDK / cosmos/PoAService / PoAService
Class: PoAService
cosmos/PoAService.PoAService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new PoAService(): PoAService
Returns: PoAService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/PoAService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/PoAService.ts:210
Methods
getPoaValidators
▸ Static
getPoaValidators<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get validators
description
Get validator objects and required confirmations count
200 - OK 500 - Returned on server error
method
getPoaValidators
see
/poa/validators
Type parameters:
Name | Default |
---|---|
Return |
RestPoaRespGetValidators |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/PoAService.ts:228
JSDK / cosmos/SlashingService / SlashingService
Class: SlashingService
cosmos/SlashingService.SlashingService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new SlashingService(): SlashingService
Returns: SlashingService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/SlashingService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/SlashingService.ts:210
Methods
getSlashingParameters
▸ Static
getSlashingParameters<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get the current slashing parameters
200 - OK 500 - Internal Server Error
method
getSlashingParameters
see
/slashing/parameters
Type parameters:
Name | Default |
---|---|
Return |
{ double_sign_unbond_duration : string ; downtime_unbond_duration : string ; max_evidence_age : string ; min_signed_per_window : string ; signed_blocks_window : string ; slash_fraction_double_sign : string ; slash_fraction_downtime : string } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ double_sign_unbond_duration: string, downtime_unbond_duration: string, max_evidence_age: string, min_signed_per_window: string, signed_blocks_window: string, slash_fraction_double_sign: string, slash_fraction_downtime: string }>}
Defined in: cosmos/SlashingService.ts:235
getSlashingSigningInfos
▸ Static
getSlashingSigningInfos<Return>(parameters
: { limit
: number ; page
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get sign info of given all validators
description
Get sign info of all validators
200 - OK 400 - Invalid validator public key for one of the validators 500 - Internal Server Error
method
getSlashingSigningInfos
see
/slashing/signing_infos
Type parameters:
Name | Default |
---|---|
Return |
SigningInfo[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit |
number | (in query) - Maximum number of items per page |
parameters.page |
number | (in query) - Page number |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/SlashingService.ts:274
postSlashingValidatorsValidatorAddrUnjail
▸ Static
postSlashingValidatorsValidatorAddrUnjail<Return>(parameters
: { UnjailBody
: { base_req
: StdTx } ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Unjail a jailed validator
description
Send transaction to unjail a jailed validator
200 - Tx was succesfully generated 400 - Invalid validator address or base_req 500 - Internal Server Error
method
postSlashingValidatorsValidatorAddrUnjail
see
/slashing/validators/{validatorAddr}/unjail
Type parameters:
Name | Default |
---|---|
Return |
BroadcastTxCommitResult |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.UnjailBody |
object | - |
parameters.UnjailBody.base_req |
StdTx | - |
parameters.validatorAddr |
string | (in path) - Bech32 validator address |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/SlashingService.ts:313
JSDK / cosmos/StakingService / StakingService
Class: StakingService
cosmos/StakingService.StakingService
Table of contents
Constructors
Properties
Methods
- getStakingDelegatorsDelegatorAddrDelegations
- getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr
- getStakingDelegatorsDelegatorAddrTxs
- getStakingDelegatorsDelegatorAddrUnbondingDelegations
- getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr
- getStakingDelegatorsDelegatorAddrValidators
- getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr
- getStakingHistoricalInfoHeight
- getStakingParameters
- getStakingPool
- getStakingRedelegations
- getStakingValidators
- getStakingValidatorsValidatorAddr
- getStakingValidatorsValidatorAddrDelegations
- getStakingValidatorsValidatorAddrUnbondingDelegations
- postStakingDelegatorsDelegatorAddrDelegations
- postStakingDelegatorsDelegatorAddrRedelegations
- postStakingDelegatorsDelegatorAddrUnbondingDelegations
Constructors
constructor
+ new StakingService(): StakingService
Returns: StakingService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/StakingService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/StakingService.ts:210
Methods
getStakingDelegatorsDelegatorAddrDelegations
▸ Static
getStakingDelegatorsDelegatorAddrDelegations<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get all delegations from a delegator
description
Get all delegations from a delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrDelegations
see
/staking/delegators/{delegatorAddr}/delegations
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegationsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:231
getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr
▸ Static
getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the current delegation between a delegator and a validator
description
Query the current delegation between a delegator and a validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrDelegationsValidatorAddr
see
/staking/delegators/{delegatorAddr}/delegations/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegationResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:302
getStakingDelegatorsDelegatorAddrTxs
▸ Static
getStakingDelegatorsDelegatorAddrTxs<Return>(parameters
: { delegatorAddr
: string ; type?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query all staking txs (msgs) from a delegator
description
Query all staking txs (msgs) from a delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrTxs
see
/staking/delegators/{delegatorAddr}/txs
Type parameters:
Name | Default |
---|---|
Return |
TypesSearchTxsResult[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.type? |
string | (in query) - Unbonding types via space: bond unbond redelegate |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:376
getStakingDelegatorsDelegatorAddrUnbondingDelegations
▸ Static
getStakingDelegatorsDelegatorAddrUnbondingDelegations<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get all unbonding delegations from a delegator
description
Get all unbonding delegations from a delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrUnbondingDelegations
see
/staking/delegators/{delegatorAddr}/unbonding_delegations
Type parameters:
Name | Default |
---|---|
Return |
RestQueryUnbondingDelegationsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:412
getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr
▸ Static
getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query all unbonding delegations between a delegator and a validator
description
Query all unbonding delegations between a delegator and a validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrUnbondingDelegationsValidatorAddr
see
/staking/delegators/{delegatorAddr}/unbonding_delegations/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryUnbondingDelegationResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:489
getStakingDelegatorsDelegatorAddrValidators
▸ Static
getStakingDelegatorsDelegatorAddrValidators<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query all validators that a delegator is bonded to
description
Query all validators that a delegator is bonded to
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrValidators
see
/staking/delegators/{delegatorAddr}/validators
Type parameters:
Name | Default |
---|---|
Return |
RestQueryValidatorsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:525
getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr
▸ Static
getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query a validator that a delegator is bonded to
description
Query a validator that a delegator is bonded to
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingDelegatorsDelegatorAddrValidatorsValidatorAddr
see
/staking/delegators/{delegatorAddr}/validators/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryValidatorResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.validatorAddr |
string | (in path) - Bech32 ValAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:559
getStakingHistoricalInfoHeight
▸ Static
getStakingHistoricalInfoHeight<Return>(parameters
: { height
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query historical info at a given height
description
Query historical info at a given height
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingHistoricalInfoHeight
see
/staking/historical_info/{height}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryHistoricalInfoResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.height |
string | (in path) - block height |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:595
getStakingParameters
▸ Static
getStakingParameters<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get the current staking parameter values
description
Get the current staking parameter values
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingParameters
see
/staking/parameters
Type parameters:
Name | Default |
---|---|
Return |
RestQueryParamsResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:626
getStakingPool
▸ Static
getStakingPool<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get the current state of the staking pool
description
Get the current state of the staking pool
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingPool
see
/staking/pool
Type parameters:
Name | Default |
---|---|
Return |
RestQueryPoolResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:652
getStakingRedelegations
▸ Static
getStakingRedelegations<Return>(parameters
: { delegator?
: string ; validator_from?
: string ; validator_to?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get all redelegations (filter by query params)
description
Get all redelegations (filter by query params)
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingRedelegations
see
/staking/redelegations
Type parameters:
Name | Default |
---|---|
Return |
RestQueryRedelegationsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegator? |
string | (in query) - Bech32 AccAddress of Delegator |
parameters.validator_from? |
string | (in query) - Bech32 AccAddress of SrcValidator |
parameters.validator_to? |
string | (in query) - Bech32 AccAddress of DstValidator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:682
getStakingValidators
▸ Static
getStakingValidators<Return>(parameters
: { limit?
: string ; page?
: string ; status?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get all validator candidates. By default it returns only the bonded validators
description
Get all validator candidates. By default it returns only the bonded validators
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingValidators
see
/staking/validators
Type parameters:
Name | Default |
---|---|
Return |
RestQueryValidatorsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
string | (in query) - The maximum number of items per page |
parameters.page? |
string | (in query) - The page number |
parameters.status? |
string | (in query) - The validator bond status. Must be either 'bonded', 'unbonded', or 'unbonding' |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:725
getStakingValidatorsValidatorAddr
▸ Static
getStakingValidatorsValidatorAddr<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the information from a single validator
description
Query the information from a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingValidatorsValidatorAddr
see
/staking/validators/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryValidatorResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 ValAddress |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:762
getStakingValidatorsValidatorAddrDelegations
▸ Static
getStakingValidatorsValidatorAddrDelegations<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the current delegations for the validator
description
Get the current delegations for the validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingValidatorsValidatorAddrDelegations
see
/staking/validators/{validatorAddr}/delegations
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegationsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 ValAddress |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:795
getStakingValidatorsValidatorAddrUnbondingDelegations
▸ Static
getStakingValidatorsValidatorAddrUnbondingDelegations<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the current unbonding information for the validator
description
Get the current unbonding information for the validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getStakingValidatorsValidatorAddrUnbondingDelegations
see
/staking/validators/{validatorAddr}/unbonding_delegations
Type parameters:
Name | Default |
---|---|
Return |
RestQueryUnbondingDelegationsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 ValAddress |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:828
postStakingDelegatorsDelegatorAddrDelegations
▸ Static
postStakingDelegatorsDelegatorAddrDelegations<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestDelegateRequest }, options?
: IRequestConfiguration): Promise<Return>
description
Submit delegation
description
Submit delegation
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postStakingDelegatorsDelegatorAddrDelegations
see
/staking/delegators/{delegatorAddr}/delegations
Type parameters:
Name | Default |
---|---|
Return |
TypesMsgDelegate[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestDelegateRequest | (in body) - DelegateRequest request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:265
postStakingDelegatorsDelegatorAddrRedelegations
▸ Static
postStakingDelegatorsDelegatorAddrRedelegations<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestRedelegateRequest }, options?
: IRequestConfiguration): Promise<Return>
description
Submit a redelegation
description
Submit a redelegation
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postStakingDelegatorsDelegatorAddrRedelegations
see
/staking/delegators/{delegatorAddr}/redelegations
Type parameters:
Name | Default |
---|---|
Return |
RestTxBeginRedelegate[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestRedelegateRequest | (in body) - RedelegateRequest request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:339
postStakingDelegatorsDelegatorAddrUnbondingDelegations
▸ Static
postStakingDelegatorsDelegatorAddrUnbondingDelegations<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestUndelegateRequest }, options?
: IRequestConfiguration): Promise<Return>
description
Submit an unbonding delegation
description
Submit an unbonding delegation
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postStakingDelegatorsDelegatorAddrUnbondingDelegations
see
/staking/delegators/{delegatorAddr}/unbonding_delegations
Type parameters:
Name | Default |
---|---|
Return |
RestTxUndelegate[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestUndelegateRequest | (in body) - RedelegateRequest request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/StakingService.ts:449
JSDK / cosmos/SupplyService / SupplyService
Class: SupplyService
cosmos/SupplyService.SupplyService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new SupplyService(): SupplyService
Returns: SupplyService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/SupplyService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/SupplyService.ts:210
Methods
getSupplyTotal
▸ Static
getSupplyTotal<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Total supply of coins in the chain
200 - OK 500 - Internal Server Error
method
getSupplyTotal
see
/supply/total
Type parameters:
Name | Default |
---|---|
Return |
Supply |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/SupplyService.ts:227
getSupplyTotalDenomination
▸ Static
getSupplyTotalDenomination<Return>(parameters
: { denomination
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Total supply of a single coin denomination
200 - OK 400 - Invalid coin denomination 500 - Internal Server Error
method
getSupplyTotalDenomination
see
/supply/total/{denomination}
Type parameters:
Name | Default |
---|---|
Return |
string |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.denomination |
string | (in path) - Coin denomination |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/SupplyService.ts:254
JSDK / cosmos/TendermintRpcService / TendermintRpcService
Class: TendermintRpcService
cosmos/TendermintRpcService.TendermintRpcService
Table of contents
Constructors
Properties
Methods
- getBlocksHeight
- getBlocksLatest
- getNodeInfo
- getSyncing
- getValidatorsetsHeight
- getValidatorsetsLatest
Constructors
constructor
+ new TendermintRpcService(): TendermintRpcService
Returns: TendermintRpcService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/TendermintRpcService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/TendermintRpcService.ts:210
Methods
getBlocksHeight
▸ Static
getBlocksHeight<Return>(parameters
: { height
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get a block at a certain height
200 - The block at a specific height 400 - Invalid height 404 - Request block height doesn't 500 - Server internal error
method
getBlocksHeight
see
/blocks/{height}
Type parameters:
Name | Default |
---|---|
Return |
BlockQuery |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.height |
number | (in path) - Block height |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TendermintRpcService.ts:255
getBlocksLatest
▸ Static
getBlocksLatest<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get the latest block
200 - The latest block 500 - Server internal error
method
getBlocksLatest
see
/blocks/latest
Type parameters:
Name | Default |
---|---|
Return |
BlockQuery |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TendermintRpcService.ts:227
getNodeInfo
▸ Static
getNodeInfo<Return>(options?
: IRequestConfiguration): Promise<Return>
description
The properties of the connected node
description
Information about the connected node
200 - Node status 500 - Failed to query node status
method
getNodeInfo
see
/node_info
Type parameters:
Name | Default |
---|---|
Return |
{ application_version : { build_tags : string ; client_name : string ; commit : string ; go : string ; name : string ; server_name : string ; version : string } ; node_info : { channels : string ; id : string ; listen_addr : string ; moniker : string ; network : string ; other : { rpc_address : string ; tx_index : string } ; protocol_version : { app : string ; block : string ; p2p : string } ; version : string } } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ application_version: { * build_tags: string, * client_name: string, * commit: string, * go: string, * name: string, * server_name: string, * version: string }, node_info: { * channels: string, * id: string, * listen_addr: string, * moniker: string, * network: string, * other: { * * rpc_address: string, * * tx_index: string * }, * protocol_version: { * * app: string, * * block: string, * * p2p: string * }, * version: string } }>}
Defined in: cosmos/TendermintRpcService.ts:312
getSyncing
▸ Static
getSyncing<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Syncing state of node
description
Get if the node is currently syning with other nodes
200 - Node syncing status 500 - Server internal error
method
getSyncing
see
/syncing
Type parameters:
Name | Default |
---|---|
Return |
{ syncing : boolean } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ syncing: boolean }>}
Defined in: cosmos/TendermintRpcService.ts:361
getValidatorsetsHeight
▸ Static
getValidatorsetsHeight<Return>(parameters
: { height
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get a validator set a certain height
200 - The validator set at a specific block height 400 - Invalid height 404 - Block at height not available 500 - Server internal error
method
getValidatorsetsHeight
see
/validatorsets/{height}
Type parameters:
Name | Default |
---|---|
Return |
{ block_height : string ; validators : TendermintValidator[] } |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.height |
number | (in path) - Block height |
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ block_height: string, validators: TendermintValidator[] }>}
Defined in: cosmos/TendermintRpcService.ts:421
getValidatorsetsLatest
▸ Static
getValidatorsetsLatest<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get the latest validator set
200 - The validator set at the latest block height 500 - Server internal error
method
getValidatorsetsLatest
see
/validatorsets/latest
Type parameters:
Name | Default |
---|---|
Return |
{ block_height : string ; validators : TendermintValidator[] } |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ block_height: string, validators: TendermintValidator[] }>}
Defined in: cosmos/TendermintRpcService.ts:388
JSDK / cosmos/TransactionsService / TransactionsService
Class: TransactionsService
cosmos/TransactionsService.TransactionsService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new TransactionsService(): TransactionsService
Returns: TransactionsService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/TransactionsService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/TransactionsService.ts:210
Methods
getTxs
▸ Static
getTxs<Return>(parameters
: { limit?
: number ; message.action?
: string ; message.sender?
: string ; page?
: number ; tx.maxheight?
: number ; tx.minheight?
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Search transactions
description
Search transactions by events.
200 - All txs matching the provided events 400 - Invalid search events 500 - Internal Server Error
method
getTxs
see
/txs
Type parameters:
Name | Default |
---|---|
Return |
PaginatedQueryTxs |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
number | (in query) - Maximum number of items per page |
parameters.message.action? |
string | (in query) - transaction events such as 'message.action=send' which results in the following endpoint: 'GET /txs?message.action=send'. note that each module documents its own events. look for xx_events.md in the corresponding cosmos-sdk/docs/spec directory |
parameters.message.sender? |
string | (in query) - transaction tags with sender: 'GET /txs?message.action=send&message.sender=cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv' |
parameters.page? |
number | (in query) - Page number |
parameters.tx.maxheight? |
number | (in query) - transactions on blocks with height less than or equal this value |
parameters.tx.minheight? |
number | (in query) - transactions on blocks with height greater or equal this value |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TransactionsService.ts:236
getTxsHash
▸ Static
getTxsHash<Return>(parameters
: { hash
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get a Tx by hash
description
Retrieve a transaction using its hash.
200 - Tx with the provided hash 500 - Internal Server Error
method
getTxsHash
see
/txs/{hash}
Type parameters:
Name | Default |
---|---|
Return |
TxQuery |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.hash |
string | (in path) - Tx hash |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TransactionsService.ts:398
postTxs
▸ Static
postTxs<Return>(parameters
: { txBroadcast
: { mode
: string ; tx
: StdTx } }, options?
: IRequestConfiguration): Promise<Return>
description
Broadcast a signed tx
description
Broadcast a signed tx to a full node
200 - Tx broadcasting result 500 - Internal Server Error
method
postTxs
see
/txs
Type parameters:
Name | Default |
---|---|
Return |
BroadcastTxCommitResult |
Parameters:
Name | Type |
---|---|
parameters |
object |
parameters.txBroadcast |
object |
parameters.txBroadcast.mode |
string |
parameters.txBroadcast.tx |
StdTx |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TransactionsService.ts:285
postTxsDecode
▸ Static
postTxsDecode<Return>(parameters
: { tx
: { tx
: string } }, options?
: IRequestConfiguration): Promise<Return>
description
Decode a transaction from the Amino wire format
description
Decode a transaction (signed or not) from base64-encoded Amino serialized bytes to JSON
200 - The tx was successfully decoded 400 - The tx was malformated 500 - Server internal error
method
postTxsDecode
see
/txs/decode
Type parameters:
Name | Default |
---|---|
Return |
StdTx |
Parameters:
Name | Type |
---|---|
parameters |
object |
parameters.tx |
object |
parameters.tx.tx |
string |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/TransactionsService.ts:325
postTxsEncode
▸ Static
postTxsEncode<Return>(parameters
: { tx
: { tx
: StdTx } }, options?
: IRequestConfiguration): Promise<Return>
description
Encode a transaction to the Amino wire format
description
Encode a transaction (signed or not) from JSON to base64-encoded Amino serialized bytes
200 - The tx was successfully decoded and re-encoded 400 - The tx was malformated 500 - Server internal error
method
postTxsEncode
see
/txs/encode
Type parameters:
Name | Default |
---|---|
Return |
{ tx : string } |
Parameters:
Name | Type |
---|---|
parameters |
object |
parameters.tx |
object |
parameters.tx.tx |
StdTx |
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ tx: string }>}
Defined in: cosmos/TransactionsService.ts:364
JSDK / cosmos/VmService / VmService
Class: VmService
cosmos/VmService.VmService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new VmService(): VmService
Returns: VmService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: cosmos/rests/axios.ts:62
Defined in: cosmos/VmService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: cosmos/rests/axios.ts:29
Defined in: cosmos/VmService.ts:210
Methods
getVmCompile
▸ Static
getVmCompile<Return>(parameters
: { getRequest
: RestCompileReq }, options?
: IRequestConfiguration): Promise<Return>
description
Get compiled byteCode
description
Compile script / module code using VM and return byteCode
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getVmCompile
see
/vm/compile
Type parameters:
Name | Default |
---|---|
Return |
RestVmRespCompile |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.getRequest |
RestCompileReq | (in body) - Code with metadata |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:231
getVmDataAccountAddrVmPath
▸ Static
getVmDataAccountAddrVmPath<Return>(parameters
: { accountAddr
: string ; vmPath
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get writeSet data from VM
description
Get writeSet data from VM by accountAddr and path
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getVmDataAccountAddrVmPath
see
/vm/data/{accountAddr}/{vmPath}
Type parameters:
Name | Default |
---|---|
Return |
RestVmData |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.accountAddr |
string | (in path) - account address (Libra HEX Bech32) |
parameters.vmPath |
string | (in path) - VM path (HEX string) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:267
getVmTxTxHash
▸ Static
getVmTxTxHash<Return>(parameters
: { txHash
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get TX VM execution status
description
Get TX VM execution status by hash
200 - OK 400 - Returned if the request doesn't have valid query params 404 - Returned if the requested data wasn't found 500 - Returned on server error
method
getVmTxTxHash
see
/vm/tx/{txHash}
Type parameters:
Name | Default |
---|---|
Return |
RestVmTxStatus |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.txHash |
string | (in path) - transaction hash |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:374
getVmView
▸ Static
getVmView<Return>(parameters
: { request
: RestLcsViewReq }, options?
: IRequestConfiguration): Promise<Return>
description
Get writeSet data from VM LCS string view
description
Get writeSet data LCS string view for {address}::{moduleName}::{structName} Move path"
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getVmView
see
/vm/view
Type parameters:
Name | Default |
---|---|
Return |
RestVmRespLcsView |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestLcsViewReq | (in body) - View request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:407
putVmExecute
▸ Static
putVmExecute<Return>(parameters
: { request
: RestExecuteScriptReq }, options?
: IRequestConfiguration): Promise<Return>
description
Execute Move script
description
Get execute Move script stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putVmExecute
see
/vm/execute
Type parameters:
Name | Default |
---|---|
Return |
RestVmRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestExecuteScriptReq | (in body) - Execute request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:303
putVmPublish
▸ Static
putVmPublish<Return>(parameters
: { request
: RestPublishModuleReq }, options?
: IRequestConfiguration): Promise<Return>
description
Publish Move module
description
Get publish Move module stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putVmPublish
see
/vm/publish
Type parameters:
Name | Default |
---|---|
Return |
RestVmRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestPublishModuleReq | (in body) - Publish request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: cosmos/VmService.ts:338
Class: SDK
dfinance.SDK
Table of contents
Constructors
Properties
- auth
- bank
- configurations
- currencies
- distribution
- governance
- markets
- mint
- multisig
- oracle
- orders
- poA
- slashing
- staking
- supply
- tendermintRpc
- transactions
- vm
Methods
Constructors
constructor
+ new SDK(configurations?
: IRequestConfiguration): SDK
Parameters:
Name | Type | Default value |
---|---|---|
configurations |
IRequestConfiguration | {} |
Returns: SDK
Defined in: dfinance/index.ts:59
Properties
auth
• auth: typeof AuthService
Defined in: dfinance/index.ts:43
bank
• bank: typeof BankService
Defined in: dfinance/index.ts:44
configurations
• Readonly
configurations: IRequestConfiguration= {}
currencies
• currencies: typeof CurrenciesService
Defined in: dfinance/index.ts:45
distribution
• distribution: typeof DistributionService
Defined in: dfinance/index.ts:46
governance
• governance: typeof GovernanceService
Defined in: dfinance/index.ts:47
markets
• markets: typeof MarketsService
Defined in: dfinance/index.ts:48
mint
• mint: typeof MintService
Defined in: dfinance/index.ts:49
multisig
• multisig: typeof MultisigService
Defined in: dfinance/index.ts:50
oracle
• oracle: typeof OracleService
Defined in: dfinance/index.ts:51
orders
• orders: typeof OrdersService
Defined in: dfinance/index.ts:52
poA
• poA: typeof PoAService
Defined in: dfinance/index.ts:53
slashing
• slashing: typeof SlashingService
Defined in: dfinance/index.ts:54
staking
• staking: typeof StakingService
Defined in: dfinance/index.ts:55
supply
• supply: typeof SupplyService
Defined in: dfinance/index.ts:56
tendermintRpc
• tendermintRpc: typeof TendermintRpcService
Defined in: dfinance/index.ts:57
transactions
• transactions: typeof TransactionsService
Defined in: dfinance/index.ts:58
vm
• vm: typeof VmService
Defined in: dfinance/index.ts:59
Methods
getConfigurations
▸ getConfigurations(method
: any, contentType
: string, url
: string, configurations?
: IRequestConfiguration): IRequestConfiguration
Parameters:
Name | Type |
---|---|
method |
any |
contentType |
string |
url |
string |
configurations? |
IRequestConfiguration |
Returns: IRequestConfiguration
Defined in: dfinance/index.ts:139
request
▸ request(configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: dfinance/index.ts:131
JSDK / dfinance/AuthService / AuthService
Class: AuthService
dfinance/AuthService.AuthService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new AuthService(): AuthService
Returns: AuthService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: dfinance/rests/axios.ts:78
Defined in: dfinance/AuthService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: dfinance/rests/axios.ts:31
Defined in: dfinance/AuthService.ts:210
Methods
getAuthAccountsAddress
▸ Static
getAuthAccountsAddress<Return>(parameters
: { address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the account information on blockchain
200 - Account information on the blockchain 500 - Server internel error
method
getAuthAccountsAddress
see
/auth/accounts/{address}
Type parameters:
Name | Default |
---|---|
Return |
{ type : string ; value : { account_number : string ; address : string ; coins : Coin[] ; public_key : PublicKey ; sequence : string } } |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.address |
string | (in path) - Account address |
options? |
IRequestConfiguration |
Returns: Promise<Return>
{Promise<{ type: string, value: { * account_number: string, * address: string, * coins: Coin[], * public_key: PublicKey, * sequence: string } }>}
Defined in: dfinance/AuthService.ts:238
JSDK / dfinance/BankService / BankService
Class: BankService
dfinance/BankService.BankService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new BankService(): BankService
Returns: BankService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: dfinance/rests/axios.ts:78
Defined in: dfinance/BankService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: dfinance/rests/axios.ts:31
Defined in: dfinance/BankService.ts:210
Methods
getBankBalancesAddress
▸ Static
getBankBalancesAddress<Return>(parameters
: { address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the account balances
200 - Account balances 500 - Server internal error
method
getBankBalancesAddress
see
/bank/balances/{address}
Type parameters:
Name | Default |
---|---|
Return |
Coin[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.address |
string | (in path) - Account address in bech32 format |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/BankService.ts:270
postBankAccountsAddressTransfers
▸ Static
postBankAccountsAddressTransfers<Return>(parameters
: { account
: { amount
: Coin[] ; base_req
: BaseReq } ; address
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Send coins from one account to another
202 - Tx was succesfully generated 400 - Invalid request 500 - Server internal error
method
postBankAccountsAddressTransfers
see
/bank/accounts/{address}/transfers
Type parameters:
Name | Default |
---|---|
Return |
any |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.account |
object | - |
parameters.account.amount |
Coin[] | - |
parameters.account.base_req |
BaseReq | - |
parameters.address |
string | (in path) - Account address in bech32 format |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/BankService.ts:234
JSDK / dfinance/CurrenciesService / CurrenciesService
Class: CurrenciesService
dfinance/CurrenciesService.CurrenciesService
Table of contents
Constructors
Properties
Methods
- getCurrencies
- getCurrenciesCurrencyDenom
- getCurrenciesIssueIssueId
- getCurrenciesWithdrawWithdrawId
- getCurrenciesWithdraws
- putCurrenciesIssue
- putCurrenciesUnstake
- putCurrenciesWithdraw
Constructors
constructor
+ new CurrenciesService(): CurrenciesService
Returns: CurrenciesService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: dfinance/rests/axios.ts:78
Defined in: dfinance/CurrenciesService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: dfinance/rests/axios.ts:31
Defined in: dfinance/CurrenciesService.ts:210
Methods
getCurrencies
▸ Static
getCurrencies<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Get all registered currencies
200 - OK 500 - Returned on server error
method
getCurrencies
see
/currencies
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetCurrencies |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:227
getCurrenciesCurrencyDenom
▸ Static
getCurrenciesCurrencyDenom<Return>(parameters
: { denom
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency
description
Get currency by denom
200 - OK 500 - Returned on server error
method
getCurrenciesCurrencyDenom
see
/currencies/currency/{denom}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetCurrency |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.denom |
string | (in path) - currency denomination symbol |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:256
getCurrenciesIssueIssueId
▸ Static
getCurrenciesIssueIssueId<Return>(parameters
: { issueID
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency issue
description
Get currency issue by issueID
200 - OK 500 - Returned on server error
method
getCurrenciesIssueIssueId
see
/currencies/issue/{issueID}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetIssue |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.issueID |
string | (in path) - issueID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:327
getCurrenciesWithdrawWithdrawId
▸ Static
getCurrenciesWithdrawWithdrawId<Return>(parameters
: { withdrawID
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency withdraw
description
Get currency withdraw by withdrawID
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getCurrenciesWithdrawWithdrawId
see
/currencies/withdraw/{withdrawID}
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetWithdraw |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.withdrawID |
number | (in path) - withdrawID |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:436
getCurrenciesWithdraws
▸ Static
getCurrenciesWithdraws<Return>(parameters
: { limit?
: number ; page?
: number }, options?
: IRequestConfiguration): Promise<Return>
description
Get currency withdraws
description
Get array of Withdraw objects with pagination
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getCurrenciesWithdraws
see
/currencies/withdraws
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespGetWithdraws |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
number | (in query) - items per page (default: 100) |
parameters.page? |
number | (in query) - page number (first page: 1) |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:472
putCurrenciesIssue
▸ Static
putCurrenciesIssue<Return>(parameters
: { request
: RestSubmitIssueReq }, options?
: IRequestConfiguration): Promise<Return>
description
Submit issue
description
Get submit new issue multi signature message stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesIssue
see
/currencies/issue
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestSubmitIssueReq | (in body) - Submit issue request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:291
putCurrenciesUnstake
▸ Static
putCurrenciesUnstake<Return>(parameters
: { request
: RestUnstakeReq }, options?
: IRequestConfiguration): Promise<Return>
description
Unstake tx
description
Get new unstake multi signature message stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesUnstake
see
/currencies/unstake
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestUnstakeReq | (in body) - Submit unstake request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:362
putCurrenciesWithdraw
▸ Static
putCurrenciesWithdraw<Return>(parameters
: { request
: RestWithdrawReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw currency
description
Get withdraw currency coins from account balance stdTx object
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
putCurrenciesWithdraw
see
/currencies/withdraw
Type parameters:
Name | Default |
---|---|
Return |
RestCcRespStdTx |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.request |
RestWithdrawReq | (in body) - Withdraw request |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/CurrenciesService.ts:399
JSDK / dfinance/DistributionService / DistributionService
Class: DistributionService
dfinance/DistributionService.DistributionService
Table of contents
Constructors
Properties
Methods
- getDistributionCommunityPool
- getDistributionDelegatorsDelegatorAddrRewards
- getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
- getDistributionDelegatorsDelegatorAddrWithdrawAddress
- getDistributionParameters
- getDistributionPoolPoolName
- getDistributionValidatorExtendedValidatorAddr
- getDistributionValidatorsExtended
- getDistributionValidatorsValidatorAddr
- getDistributionValidatorsValidatorAddrOutstandingRewards
- getDistributionValidatorsValidatorAddrRewards
- postDistributionDelegatorsDelegatorAddrRewards
- postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
- postDistributionDelegatorsDelegatorAddrWithdrawAddress
- postDistributionPublicTreasuryPool
- postDistributionValidatorsValidatorAddrRewards
Constructors
constructor
+ new DistributionService(): DistributionService
Returns: DistributionService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: boolean): IRequestConfiguration
Parameters:
Name | Type | Default value |
---|---|---|
method |
Method | - |
contentType |
string | - |
url |
string | - |
configurations? |
IRequestConfiguration | - |
extendable |
boolean | true |
Returns: IRequestConfiguration
Defined in: dfinance/rests/axios.ts:78
Defined in: dfinance/DistributionService.ts:211
request
Static
request: (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void) => Promise<any>
Type declaration:
▸ (configurations
: IRequestConfiguration, resolve
: (p
: any) => void, reject
: (p
: any) => void): Promise<any>
Parameters:
Name | Type |
---|---|
configurations |
IRequestConfiguration |
resolve |
(p : any) => void
|
reject |
(p : any) => void
|
Returns: Promise<any>
Defined in: dfinance/rests/axios.ts:31
Defined in: dfinance/DistributionService.ts:210
Methods
getDistributionCommunityPool
▸ Static
getDistributionCommunityPool<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Community pool parameters
200 - OK 500 - Internal Server Error
method
getDistributionCommunityPool
see
/distribution/community_pool
Type parameters:
Name | Default |
---|---|
Return |
Coin[] |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:227
getDistributionDelegatorsDelegatorAddrRewards
▸ Static
getDistributionDelegatorsDelegatorAddrRewards<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the total rewards balance from all delegations
description
Get the sum of all the rewards earned by delegations by a single delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrRewards
see
/distribution/delegators/{delegatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegatorRewardsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:257
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
▸ Static
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query a delegation reward
description
Query a single delegation reward by a delegator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
see
/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDelegationRewardsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:338
getDistributionDelegatorsDelegatorAddrWithdrawAddress
▸ Static
getDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters
: { delegatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the rewards withdrawal address
description
Get the delegations' rewards withdrawal address. This is the address in which the user will receive the reward funds
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionDelegatorsDelegatorAddrWithdrawAddress
see
/distribution/delegators/{delegatorAddr}/withdraw_address
Type parameters:
Name | Default |
---|---|
Return |
RestQueryAddressResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:419
getDistributionParameters
▸ Static
getDistributionParameters<Return>(options?
: IRequestConfiguration): Promise<Return>
description
Fee distribution parameters
description
Fee distribution parameters
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionParameters
see
/distribution/parameters
Type parameters:
Name | Default |
---|---|
Return |
RestQueryParamsResp |
Parameters:
Name | Type |
---|---|
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:497
getDistributionPoolPoolName
▸ Static
getDistributionPoolPoolName<Return>(parameters
: { poolName
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Get the amount held in the specified pool
description
Get the amount held in the specified pool
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionPoolPoolName
see
/distribution/pool/{poolName}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.poolName |
string | (in path) - PoolName: LiquidityProvidersPool, FoundationPool, PublicTreasuryPool, HARP |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:529
getDistributionValidatorExtendedValidatorAddr
▸ Static
getDistributionValidatorExtendedValidatorAddr<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the extended information from a single validator
description
Query the extended information from a single validator containing distribution params
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorExtendedValidatorAddr
see
/distribution/validator_extended/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQueryExtendedValidatorResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:601
getDistributionValidatorsExtended
▸ Static
getDistributionValidatorsExtended<Return>(parameters
: { limit?
: string ; page?
: string ; status?
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Query the extended information from multiple validators
description
Query the extended information from multiple validators containing distribution params
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsExtended
see
/distribution/validators_extended
Type parameters:
Name | Default |
---|---|
Return |
RestQueryExtendedValidatorsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.limit? |
string | (in query) - The maximum number of items per page |
parameters.page? |
string | (in query) - The page number |
parameters.status? |
string | (in query) - The validator bond status. Must be either 'bonded', 'unbonded', or 'unbonding' |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:797
getDistributionValidatorsValidatorAddr
▸ Static
getDistributionValidatorsValidatorAddr<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Validator distribution information
description
Query the distribution information of a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddr
see
/distribution/validators/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestQuerySwaggerValidatorDistInfoResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:639
getDistributionValidatorsValidatorAddrOutstandingRewards
▸ Static
getDistributionValidatorsValidatorAddrOutstandingRewards<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Fee distribution outstanding rewards of a single validator
description
Fee distribution outstanding rewards of a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddrOutstandingRewards
see
/distribution/validators/{validatorAddr}/outstanding_rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:677
getDistributionValidatorsValidatorAddrRewards
▸ Static
getDistributionValidatorsValidatorAddrRewards<Return>(parameters
: { validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Commission and self-delegation rewards of a single validator
description
Query the commission and self-delegation rewards of validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
getDistributionValidatorsValidatorAddrRewards
see
/distribution/validators/{validatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestQueryDecCoinsResp |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:715
postDistributionDelegatorsDelegatorAddrRewards
▸ Static
postDistributionDelegatorsDelegatorAddrRewards<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestWithdrawRewardsReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw all the delegator's delegation rewards
description
Withdraw all the delegator's delegation rewards
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrRewards
see
/distribution/delegators/{delegatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
RestTxWithdrawDelegatorReward[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:296
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
▸ Static
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestWithdrawRewardsReq ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw a delegation reward
description
Withdraw a delegator's delegation reward from a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrRewardsValidatorAddr
see
/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}
Type parameters:
Name | Default |
---|---|
Return |
RestTxWithdrawDelegatorReward[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:378
postDistributionDelegatorsDelegatorAddrWithdrawAddress
▸ Static
postDistributionDelegatorsDelegatorAddrWithdrawAddress<Return>(parameters
: { delegatorAddr
: string ; postRequest
: RestSetWithdrawalAddrReq }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw a delegation reward
description
Withdraw a delegator's delegation reward from a single validator
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionDelegatorsDelegatorAddrWithdrawAddress
see
/distribution/delegators/{delegatorAddr}/withdraw_address
Type parameters:
Name | Default |
---|---|
Return |
RestTxSetWithdrawAddress[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.delegatorAddr |
string | (in path) - Bech32 AccAddress of Delegator |
parameters.postRequest |
RestSetWithdrawalAddrReq | (in body) - SetWithdrawalAddrReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:458
postDistributionPublicTreasuryPool
▸ Static
postDistributionPublicTreasuryPool<Return>(parameters
: { postRequest
: RestFundPublicTreasuryPoolReq }, options?
: IRequestConfiguration): Promise<Return>
description
Fund the public treasury pool
description
Fund the public treasury pool
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionPublicTreasuryPool
see
/distribution/public_treasury_pool
Type parameters:
Name | Default |
---|---|
Return |
RestTxFundPublicTreasuryPool[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestFundPublicTreasuryPoolReq | (in body) - FundPublicTreasuryPoolReq request with signed transaction |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:564
postDistributionValidatorsValidatorAddrRewards
▸ Static
postDistributionValidatorsValidatorAddrRewards<Return>(parameters
: { postRequest
: RestWithdrawRewardsReq ; validatorAddr
: string }, options?
: IRequestConfiguration): Promise<Return>
description
Withdraw the validator's rewards
description
Withdraw the validator's self-delegation and commissions rewards
200 - OK 400 - Returned if the request doesn't have valid query params 500 - Returned on server error
method
postDistributionValidatorsValidatorAddrRewards
see
/distribution/validators/{validatorAddr}/rewards
Type parameters:
Name | Default |
---|---|
Return |
TypesStdTx[] |
Parameters:
Name | Type | Description |
---|---|---|
parameters |
object | |
parameters.postRequest |
RestWithdrawRewardsReq | (in body) - WithdrawRewardsReq request with signed transaction |
parameters.validatorAddr |
string | (in path) - Bech32 OperatorAddress of validator |
options? |
IRequestConfiguration |
Returns: Promise<Return>
Defined in: dfinance/DistributionService.ts:754
JSDK / dfinance/GovernanceService / GovernanceService
Class: GovernanceService
dfinance/GovernanceService.GovernanceService
Table of contents
Constructors
Properties
Methods
- getGovParametersDeposit
- getGovParametersTallying
- getGovParametersVoting
- getGovProposals
- getGovProposalsProposalId
- getGovProposalsProposalIdDeposits
- getGovProposalsProposalIdDepositsDepositor
- getGovProposalsProposalIdProposer
- getGovProposalsProposalIdTally
- getGovProposalsProposalIdVotes
- getGovProposalsProposalIdVotesVoter
- postGovProposals
- postGovProposalsParamChange
- postGovProposalsProposalIdDeposits
- postGovProposalsProposalIdVotes
Constructors
constructor
+ new GovernanceService(): GovernanceService
Returns: GovernanceService
Properties
getConfigurations
Static
getConfigurations: (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable
: boolean) => IRequestConfiguration
Type declaration:
▸ (method
: Method, contentType
: string, url
: string, configurations?
: IRequestConfiguration, extendable?
: *bool