Module CosmJS-ESM Documentation

This is a fork of cosmos/cosmjs and confio/cosmjs-types, with the following differences:

  • All of the packages from the @cosmjs/ namespace, as well as the cosmjs-types library, are unified into a single package, @hackbg/cosmjs-esm.

  • Various cases of invalid imports have been fixed. Namely (1) types are now imported using import type, and (2) directories are now imported with ./directory/index. This means that, unlike mainline @cosmjs, usage of this library will not slow you down by forcing you to use a bundler or build system that paper over some of the unacknowledged pitfalls of TypeScript.

  • Versioning starts from 1.0.0, and SemVer will be applied. Breaking changes to the API will be tracked - even if they don't actually break anything.

This library is intended to be used by @hackbg/fadroma. Contact us at hello at fadroma dot tech if you need a hand with CosmWasm development.

Distributed as a Derivative Work under the Apache License 2.0.

Index

Namespaces

Classes

Interfaces

Account AminoConverter AminoMsgBeginRedelegate AminoMsgCreateValidator AminoMsgCreateVestingAccount AminoMsgDelegate AminoMsgDeposit AminoMsgEditValidator AminoMsgFundCommunityPool AminoMsgMultiSend AminoMsgSend AminoMsgSetWithdrawAddress AminoMsgSubmitEvidence AminoMsgSubmitProposal AminoMsgTransfer AminoMsgUndelegate AminoMsgUnjail AminoMsgVerifyInvariant AminoMsgVote AminoMsgVoteWeighted AminoMsgWithdrawDelegatorReward AminoMsgWithdrawValidatorCommission Attribute AuthExtension BankExtension Block BlockHeader ChangeAdminResult Code CodeDetails Coin Contract ContractCodeHistoryEntry DeliverTxResponse DistributionExtension Event ExecuteInstruction ExecuteResult GovExtension HttpEndpoint IbcExtension IndexedTx InstantiateOptions InstantiateResult MigrateResult MintExtension MintParams MsgBeginRedelegateEncodeObject MsgClearAdminEncodeObject MsgCreateValidatorEncodeObject MsgDelegateEncodeObject MsgDepositEncodeObject MsgEditValidatorEncodeObject MsgExecuteContractEncodeObject MsgInstantiateContract2EncodeObject MsgInstantiateContractEncodeObject MsgMigrateContractEncodeObject MsgSendEncodeObject MsgStoreCodeEncodeObject MsgSubmitProposalEncodeObject MsgTransferEncodeObject MsgUndelegateEncodeObject MsgUpdateAdminEncodeObject MsgVoteEncodeObject MsgVoteWeightedEncodeObject MsgWithdrawDelegatorRewardEncodeObject ProtobufRpcClient QueryAbciResponse QueryStoreResponse SearchByHeightQuery SearchBySentFromOrToQuery SequenceResponse SignerData SigningCosmWasmClientOptions SigningStargateClientOptions StakingExtension StargateClientOptions StdFee TxExtension UploadResult WasmExtension

Type Aliases

Variables

Functions

_instantiate2AddressIntermediate accountFromAny assertIsDeliverTxFailure assertIsDeliverTxSuccess calculateFee coin coins createAuthzAminoConverters createBankAminoConverters createCrysisAminoConverters createDefaultAminoConverters createDistributionAminoConverters createEvidenceAminoConverters createFeegrantAminoConverters createGovAminoConverters createGroupAminoConverters createIbcAminoConverters createPagination createProtobufRpcClient createSlashingAminoConverters createStakingAminoConverters createVestingAminoConverters createWasmAminoConverters decodeCosmosSdkDecFromProto fromBinary fromTendermintEvent instantiate2Address isAminoMsgBeginRedelegate isAminoMsgCreateValidator isAminoMsgCreateVestingAccount isAminoMsgDelegate isAminoMsgDeposit isAminoMsgEditValidator isAminoMsgFundCommunityPool isAminoMsgMultiSend isAminoMsgSend isAminoMsgSetWithdrawAddress isAminoMsgSubmitEvidence isAminoMsgSubmitProposal isAminoMsgTransfer isAminoMsgUndelegate isAminoMsgUnjail isAminoMsgVerifyInvariant isAminoMsgVote isAminoMsgVoteWeighted isAminoMsgWithdrawDelegatorReward isAminoMsgWithdrawValidatorCommission isDeliverTxFailure isDeliverTxSuccess isMsgBeginRedelegateEncodeObject isMsgClearAdminEncodeObject isMsgCreateValidatorEncodeObject isMsgDelegateEncodeObject isMsgDepositEncodeObject isMsgEditValidatorEncodeObject isMsgExecuteEncodeObject isMsgInstantiateContract2EncodeObject isMsgInstantiateContractEncodeObject isMsgMigrateEncodeObject isMsgSendEncodeObject isMsgStoreCodeEncodeObject isMsgSubmitProposalEncodeObject isMsgTransferEncodeObject isMsgUndelegateEncodeObject isMsgUpdateAdminEncodeObject isMsgVoteEncodeObject isMsgVoteWeightedEncodeObject isMsgWithdrawDelegatorRewardEncodeObject makeCosmoshubPath makeMultisignedTx makeMultisignedTxBytes parseCoins serializeSignDoc setupAuthExtension setupAuthzExtension setupBankExtension setupDistributionExtension setupFeegrantExtension setupGovExtension setupIbcExtension setupMintExtension setupSlashingExtension setupStakingExtension setupTxExtension setupWasmExtension toBinary

Generated using TypeDoc