Options
All
  • Public
  • Public/Protected
  • All
Menu

@tendermint/amino-js

Index

Interfaces

Type aliases

Functions

Type aliases

AminoBytes

AminoBytes: Bytes

A Uint8Array of Amino data

DisambBytes

DisambBytes: AminoBytes

A Uint8Array of Amino disambiguation data (3 bytes)

PrefixBytes

PrefixBytes: AminoBytes

A Uint8Array of Amino prefix data (4 bytes)

Functions

decodeDisambPrefixBytes

  • Decode disambiguation bytes, prefix bytes, and byte length from Amino

    throws

    will throw if decoding fails

    Parameters

    Returns [DisambBytes | null, PrefixBytes | null, number]

    tuple of disambiguation bytes (or null if none), prefix bytes (or null if none), and byte length

marshalAccount

  • Marshal a Account object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Account

      Account object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Account object

marshalBIP44Params

  • Marshal a BIP44Params object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BIP44Params

      BIP44Params object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BIP44Params object

marshalBaseAccount

  • Marshal a BaseAccount object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BaseAccount

      BaseAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BaseAccount object

marshalBaseVestingAccount

  • Marshal a BaseVestingAccount object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BaseVestingAccount

      BaseVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BaseVestingAccount object

marshalBcBlockRequestMessage

  • Marshal a BcBlockRequestMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BcBlockRequestMessage

      BcBlockRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BcBlockRequestMessage object

marshalBcBlockResponseMessage

  • Marshal a BcBlockResponseMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BcBlockResponseMessage

      BcBlockResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BcBlockResponseMessage object

marshalBcNoBlockResponseMessage

  • Marshal a BcNoBlockResponseMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BcNoBlockResponseMessage

      BcNoBlockResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BcNoBlockResponseMessage object

marshalBcStatusRequestMessage

  • Marshal a BcStatusRequestMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BcStatusRequestMessage

      BcStatusRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BcStatusRequestMessage object

marshalBcStatusResponseMessage

  • Marshal a BcStatusResponseMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BcStatusResponseMessage

      BcStatusResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BcStatusResponseMessage object

marshalBlockPartMessage

  • Marshal a BlockPartMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BlockPartMessage

      BlockPartMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BlockPartMessage object

marshalBlockchainMessage

  • Marshal a BlockchainMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: BlockchainMessage

      BlockchainMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded BlockchainMessage object

marshalConsensusMessage

  • Marshal a ConsensusMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: ConsensusMessage

      ConsensusMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded ConsensusMessage object

marshalContent

  • Marshal a Content object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Content

      Content object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Content object

marshalContinuousVestingAccount

  • Marshal a ContinuousVestingAccount object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: ContinuousVestingAccount

      ContinuousVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded ContinuousVestingAccount object

marshalDelayedVestingAccount

  • Marshal a DelayedVestingAccount object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: DelayedVestingAccount

      DelayedVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded DelayedVestingAccount object

marshalDuplicateVoteEvidence

  • Marshal a DuplicateVoteEvidence object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: DuplicateVoteEvidence

      DuplicateVoteEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded DuplicateVoteEvidence object

marshalEndHeightMessage

  • Marshal a EndHeightMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EndHeightMessage

      EndHeightMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EndHeightMessage object

marshalEventDataCompleteProposal

  • Marshal a EventDataCompleteProposal object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataCompleteProposal

      EventDataCompleteProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataCompleteProposal object

marshalEventDataNewBlock

  • Marshal a EventDataNewBlock object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataNewBlock

      EventDataNewBlock object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataNewBlock object

marshalEventDataNewBlockHeader

  • Marshal a EventDataNewBlockHeader object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataNewBlockHeader

      EventDataNewBlockHeader object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataNewBlockHeader object

marshalEventDataNewRound

  • Marshal a EventDataNewRound object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataNewRound

      EventDataNewRound object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataNewRound object

marshalEventDataRoundState

  • Marshal a EventDataRoundState object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataRoundState

      EventDataRoundState object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataRoundState object

marshalEventDataString

  • Marshal a EventDataString object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataString

      EventDataString object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataString object

marshalEventDataTx

  • Marshal a EventDataTx object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataTx

      EventDataTx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataTx object

marshalEventDataValidatorSetUpdates

  • Marshal a EventDataValidatorSetUpdates object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataValidatorSetUpdates

      EventDataValidatorSetUpdates object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataValidatorSetUpdates object

marshalEventDataVote

  • Marshal a EventDataVote object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EventDataVote

      EventDataVote object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EventDataVote object

marshalEvidence

  • Marshal a Evidence object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Evidence

      Evidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Evidence object

marshalEvidenceListMessage

  • Marshal a EvidenceListMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EvidenceListMessage

      EvidenceListMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EvidenceListMessage object

marshalEvidenceMessage

  • Marshal a EvidenceMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: EvidenceMessage

      EvidenceMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded EvidenceMessage object

marshalHasVoteMessage

  • Marshal a HasVoteMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: HasVoteMessage

      HasVoteMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded HasVoteMessage object

marshalIAVLAbsenceOp

  • Marshal a IAVLAbsenceOp object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: IAVLAbsenceOp

      IAVLAbsenceOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded IAVLAbsenceOp object

marshalIAVLValueOp

  • Marshal a IAVLValueOp object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: IAVLValueOp

      IAVLValueOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded IAVLValueOp object

marshalInfo

  • Marshal a Info object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Info

      Info object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Info object

marshalLedgerInfo

  • Marshal a LedgerInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: LedgerInfo

      LedgerInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded LedgerInfo object

marshalLocalInfo

  • Marshal a LocalInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: LocalInfo

      LocalInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded LocalInfo object

marshalMempoolMessage

  • Marshal a MempoolMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MempoolMessage

      MempoolMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MempoolMessage object

marshalMockBadEvidence

  • Marshal a MockBadEvidence object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MockBadEvidence

      MockBadEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MockBadEvidence object

marshalMockGoodEvidence

  • Marshal a MockGoodEvidence object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MockGoodEvidence

      MockGoodEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MockGoodEvidence object

marshalMockRandomGoodEvidence

  • Marshal a MockRandomGoodEvidence object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MockRandomGoodEvidence

      MockRandomGoodEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MockRandomGoodEvidence object

marshalMsg

  • Marshal a Msg object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Msg

      Msg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Msg object

marshalMsgBeginRedelegate

  • Marshal a MsgBeginRedelegate object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgBeginRedelegate

      MsgBeginRedelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgBeginRedelegate object

marshalMsgCreateValidator

  • Marshal a MsgCreateValidator object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgCreateValidator

      MsgCreateValidator object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgCreateValidator object

marshalMsgDelegate

  • Marshal a MsgDelegate object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgDelegate

      MsgDelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgDelegate object

marshalMsgDeposit

  • Marshal a MsgDeposit object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgDeposit

      MsgDeposit object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgDeposit object

marshalMsgEditValidator

  • Marshal a MsgEditValidator object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgEditValidator

      MsgEditValidator object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgEditValidator object

marshalMsgIBCReceive

  • Marshal a MsgIBCReceive object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgIBCReceive

      MsgIBCReceive object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgIBCReceive object

marshalMsgIBCTransfer

  • Marshal a MsgIBCTransfer object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgIBCTransfer

      MsgIBCTransfer object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgIBCTransfer object

marshalMsgInfo

  • Marshal a MsgInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgInfo

      MsgInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgInfo object

marshalMsgMultiSend

  • Marshal a MsgMultiSend object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgMultiSend

      MsgMultiSend object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgMultiSend object

marshalMsgSend

  • Marshal a MsgSend object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgSend

      MsgSend object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgSend object

marshalMsgSetWithdrawAddress

  • Marshal a MsgSetWithdrawAddress object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgSetWithdrawAddress

      MsgSetWithdrawAddress object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgSetWithdrawAddress object

marshalMsgSubmitProposal

  • Marshal a MsgSubmitProposal object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgSubmitProposal

      MsgSubmitProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgSubmitProposal object

marshalMsgUndelegate

  • Marshal a MsgUndelegate object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgUndelegate

      MsgUndelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgUndelegate object

marshalMsgUnjail

  • Marshal a MsgUnjail object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgUnjail

      MsgUnjail object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgUnjail object

marshalMsgVerifyInvariant

  • Marshal a MsgVerifyInvariant object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgVerifyInvariant

      MsgVerifyInvariant object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgVerifyInvariant object

marshalMsgVote

  • Marshal a MsgVote object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgVote

      MsgVote object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgVote object

marshalMsgWithdrawDelegatorReward

  • Marshal a MsgWithdrawDelegatorReward object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgWithdrawDelegatorReward

      MsgWithdrawDelegatorReward object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgWithdrawDelegatorReward object

marshalMsgWithdrawValidatorCommission

  • Marshal a MsgWithdrawValidatorCommission object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MsgWithdrawValidatorCommission

      MsgWithdrawValidatorCommission object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MsgWithdrawValidatorCommission object

marshalMultiInfo

  • Marshal a MultiInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MultiInfo

      MultiInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MultiInfo object

marshalMultiStoreProofOp

  • Marshal a MultiStoreProofOp object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: MultiStoreProofOp

      MultiStoreProofOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded MultiStoreProofOp object

marshalNewRoundStepMessage

  • Marshal a NewRoundStepMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: NewRoundStepMessage

      NewRoundStepMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded NewRoundStepMessage object

marshalNewValidBlockMessage

  • Marshal a NewValidBlockMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: NewValidBlockMessage

      NewValidBlockMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded NewValidBlockMessage object

marshalOfflineInfo

  • Marshal a OfflineInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: OfflineInfo

      OfflineInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded OfflineInfo object

marshalPacket

  • Marshal a Packet object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Packet

      Packet object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Packet object

marshalPacketMsg

  • Marshal a PacketMsg object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PacketMsg

      PacketMsg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PacketMsg object

marshalPacketPing

  • Marshal a PacketPing object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PacketPing

      PacketPing object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PacketPing object

marshalPacketPong

  • Marshal a PacketPong object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PacketPong

      PacketPong object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PacketPong object

marshalParameterChangeProposal

  • Marshal a ParameterChangeProposal object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: ParameterChangeProposal

      ParameterChangeProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded ParameterChangeProposal object

marshalPexAddrsMessage

  • Marshal a PexAddrsMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PexAddrsMessage

      PexAddrsMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PexAddrsMessage object

marshalPexMessage

  • Marshal a PexMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PexMessage

      PexMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PexMessage object

marshalPexRequestMessage

  • Marshal a PexRequestMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PexRequestMessage

      PexRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PexRequestMessage object

marshalPingRequest

  • Marshal a PingRequest object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PingRequest

      PingRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PingRequest object

marshalPingResponse

  • Marshal a PingResponse object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PingResponse

      PingResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PingResponse object

marshalPrivKey

  • Marshal a PrivKey object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PrivKey

      PrivKey object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PrivKey object

marshalPrivKeyEd25519

  • Marshal a PrivKeyEd25519 object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PrivKeyEd25519

      PrivKeyEd25519 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PrivKeyEd25519 object

marshalPrivKeyLedgerSecp256k1

  • Marshal a PrivKeyLedgerSecp256k1 object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PrivKeyLedgerSecp256k1

      PrivKeyLedgerSecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PrivKeyLedgerSecp256k1 object

marshalPrivKeySecp256k1

  • Marshal a PrivKeySecp256k1 object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PrivKeySecp256k1

      PrivKeySecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PrivKeySecp256k1 object

marshalProposalMessage

  • Marshal a ProposalMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: ProposalMessage

      ProposalMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded ProposalMessage object

marshalProposalPOLMessage

  • Marshal a ProposalPOLMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: ProposalPOLMessage

      ProposalPOLMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded ProposalPOLMessage object

marshalPubKey

  • Marshal a PubKey object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKey

      PubKey object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKey object

marshalPubKeyEd25519

  • Marshal a PubKeyEd25519 object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKeyEd25519

      PubKeyEd25519 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKeyEd25519 object

marshalPubKeyMultisigThreshold

  • Marshal a PubKeyMultisigThreshold object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKeyMultisigThreshold

      PubKeyMultisigThreshold object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKeyMultisigThreshold object

marshalPubKeyRequest

  • Marshal a PubKeyRequest object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKeyRequest

      PubKeyRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKeyRequest object

marshalPubKeyResponse

  • Marshal a PubKeyResponse object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKeyResponse

      PubKeyResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKeyResponse object

marshalPubKeySecp256k1

  • Marshal a PubKeySecp256k1 object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: PubKeySecp256k1

      PubKeySecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded PubKeySecp256k1 object

marshalRemoteSignerMsg

  • Marshal a RemoteSignerMsg object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: RemoteSignerMsg

      RemoteSignerMsg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded RemoteSignerMsg object

marshalSignProposalRequest

  • Marshal a SignProposalRequest object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: SignProposalRequest

      SignProposalRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded SignProposalRequest object

marshalSignVoteRequest

  • Marshal a SignVoteRequest object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: SignVoteRequest

      SignVoteRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded SignVoteRequest object

marshalSignedProposalResponse

  • Marshal a SignedProposalResponse object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: SignedProposalResponse

      SignedProposalResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded SignedProposalResponse object

marshalSignedVoteResponse

  • Marshal a SignedVoteResponse object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: SignedVoteResponse

      SignedVoteResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded SignedVoteResponse object

marshalSoftwareUpgradeProposal

  • Marshal a SoftwareUpgradeProposal object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: SoftwareUpgradeProposal

      SoftwareUpgradeProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded SoftwareUpgradeProposal object

marshalStdTx

  • Marshal a StdTx object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: StdTx

      StdTx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded StdTx object

marshalTMEventData

  • Marshal a TMEventData object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: TMEventData

      TMEventData object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded TMEventData object

marshalTextProposal

  • Marshal a TextProposal object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: TextProposal

      TextProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded TextProposal object

marshalTimeoutInfo

  • Marshal a TimeoutInfo object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: TimeoutInfo

      TimeoutInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded TimeoutInfo object

marshalTx

  • Marshal a Tx object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: Tx

      Tx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded Tx object

marshalTxMessage

  • Marshal a TxMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: TxMessage

      TxMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded TxMessage object

marshalVestingAccount

  • Marshal a VestingAccount object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: VestingAccount

      VestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded VestingAccount object

marshalVoteMessage

  • Marshal a VoteMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: VoteMessage

      VoteMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded VoteMessage object

marshalVoteSetBitsMessage

  • Marshal a VoteSetBitsMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: VoteSetBitsMessage

      VoteSetBitsMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded VoteSetBitsMessage object

marshalVoteSetMaj23Message

  • Marshal a VoteSetMaj23Message object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: VoteSetMaj23Message

      VoteSetMaj23Message object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded VoteSetMaj23Message object

marshalWALMessage

  • Marshal a WALMessage object to Amino

    throws

    will throw if encoding fails

    Parameters

    • o: WALMessage

      WALMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino encoding; if false, use bare Amino encoding

    Returns AminoBytes

    Amino-encoded WALMessage object

unmarshalAccount

  • Unmarshal a Account object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Account object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Account

    Account object

unmarshalBIP44Params

  • Unmarshal a BIP44Params object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BIP44Params object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BIP44Params

    BIP44Params object

unmarshalBaseAccount

  • Unmarshal a BaseAccount object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BaseAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BaseAccount

    BaseAccount object

unmarshalBaseVestingAccount

  • Unmarshal a BaseVestingAccount object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BaseVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BaseVestingAccount

    BaseVestingAccount object

unmarshalBcBlockRequestMessage

  • Unmarshal a BcBlockRequestMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BcBlockRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BcBlockRequestMessage

    BcBlockRequestMessage object

unmarshalBcBlockResponseMessage

  • Unmarshal a BcBlockResponseMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BcBlockResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BcBlockResponseMessage

    BcBlockResponseMessage object

unmarshalBcNoBlockResponseMessage

  • Unmarshal a BcNoBlockResponseMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BcNoBlockResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BcNoBlockResponseMessage

    BcNoBlockResponseMessage object

unmarshalBcStatusRequestMessage

  • Unmarshal a BcStatusRequestMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BcStatusRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BcStatusRequestMessage

    BcStatusRequestMessage object

unmarshalBcStatusResponseMessage

  • Unmarshal a BcStatusResponseMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BcStatusResponseMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BcStatusResponseMessage

    BcStatusResponseMessage object

unmarshalBlockPartMessage

  • Unmarshal a BlockPartMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BlockPartMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BlockPartMessage

    BlockPartMessage object

unmarshalBlockchainMessage

  • Unmarshal a BlockchainMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded BlockchainMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns BlockchainMessage

    BlockchainMessage object

unmarshalConsensusMessage

  • Unmarshal a ConsensusMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded ConsensusMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns ConsensusMessage

    ConsensusMessage object

unmarshalContent

  • Unmarshal a Content object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Content object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Content

    Content object

unmarshalContinuousVestingAccount

  • Unmarshal a ContinuousVestingAccount object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded ContinuousVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns ContinuousVestingAccount

    ContinuousVestingAccount object

unmarshalDelayedVestingAccount

  • Unmarshal a DelayedVestingAccount object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded DelayedVestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns DelayedVestingAccount

    DelayedVestingAccount object

unmarshalDuplicateVoteEvidence

  • Unmarshal a DuplicateVoteEvidence object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded DuplicateVoteEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns DuplicateVoteEvidence

    DuplicateVoteEvidence object

unmarshalEndHeightMessage

  • Unmarshal a EndHeightMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EndHeightMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EndHeightMessage

    EndHeightMessage object

unmarshalEventDataCompleteProposal

  • Unmarshal a EventDataCompleteProposal object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataCompleteProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataCompleteProposal

    EventDataCompleteProposal object

unmarshalEventDataNewBlock

  • Unmarshal a EventDataNewBlock object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataNewBlock object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataNewBlock

    EventDataNewBlock object

unmarshalEventDataNewBlockHeader

  • Unmarshal a EventDataNewBlockHeader object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataNewBlockHeader object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataNewBlockHeader

    EventDataNewBlockHeader object

unmarshalEventDataNewRound

  • Unmarshal a EventDataNewRound object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataNewRound object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataNewRound

    EventDataNewRound object

unmarshalEventDataRoundState

  • Unmarshal a EventDataRoundState object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataRoundState object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataRoundState

    EventDataRoundState object

unmarshalEventDataString

  • Unmarshal a EventDataString object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataString object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataString

    EventDataString object

unmarshalEventDataTx

  • Unmarshal a EventDataTx object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataTx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataTx

    EventDataTx object

unmarshalEventDataValidatorSetUpdates

  • Unmarshal a EventDataValidatorSetUpdates object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataValidatorSetUpdates object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataValidatorSetUpdates

    EventDataValidatorSetUpdates object

unmarshalEventDataVote

  • Unmarshal a EventDataVote object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EventDataVote object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EventDataVote

    EventDataVote object

unmarshalEvidence

  • Unmarshal a Evidence object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Evidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Evidence

    Evidence object

unmarshalEvidenceListMessage

  • Unmarshal a EvidenceListMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EvidenceListMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EvidenceListMessage

    EvidenceListMessage object

unmarshalEvidenceMessage

  • Unmarshal a EvidenceMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded EvidenceMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns EvidenceMessage

    EvidenceMessage object

unmarshalHasVoteMessage

  • Unmarshal a HasVoteMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded HasVoteMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns HasVoteMessage

    HasVoteMessage object

unmarshalIAVLAbsenceOp

  • Unmarshal a IAVLAbsenceOp object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded IAVLAbsenceOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns IAVLAbsenceOp

    IAVLAbsenceOp object

unmarshalIAVLValueOp

  • Unmarshal a IAVLValueOp object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded IAVLValueOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns IAVLValueOp

    IAVLValueOp object

unmarshalInfo

  • Unmarshal a Info object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Info object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Info

    Info object

unmarshalLedgerInfo

  • Unmarshal a LedgerInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded LedgerInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns LedgerInfo

    LedgerInfo object

unmarshalLocalInfo

  • Unmarshal a LocalInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded LocalInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns LocalInfo

    LocalInfo object

unmarshalMempoolMessage

  • Unmarshal a MempoolMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MempoolMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MempoolMessage

    MempoolMessage object

unmarshalMockBadEvidence

  • Unmarshal a MockBadEvidence object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MockBadEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MockBadEvidence

    MockBadEvidence object

unmarshalMockGoodEvidence

  • Unmarshal a MockGoodEvidence object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MockGoodEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MockGoodEvidence

    MockGoodEvidence object

unmarshalMockRandomGoodEvidence

  • Unmarshal a MockRandomGoodEvidence object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MockRandomGoodEvidence object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MockRandomGoodEvidence

    MockRandomGoodEvidence object

unmarshalMsg

  • Unmarshal a Msg object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Msg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Msg

    Msg object

unmarshalMsgBeginRedelegate

  • Unmarshal a MsgBeginRedelegate object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgBeginRedelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgBeginRedelegate

    MsgBeginRedelegate object

unmarshalMsgCreateValidator

  • Unmarshal a MsgCreateValidator object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgCreateValidator object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgCreateValidator

    MsgCreateValidator object

unmarshalMsgDelegate

  • Unmarshal a MsgDelegate object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgDelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgDelegate

    MsgDelegate object

unmarshalMsgDeposit

  • Unmarshal a MsgDeposit object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgDeposit object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgDeposit

    MsgDeposit object

unmarshalMsgEditValidator

  • Unmarshal a MsgEditValidator object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgEditValidator object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgEditValidator

    MsgEditValidator object

unmarshalMsgIBCReceive

  • Unmarshal a MsgIBCReceive object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgIBCReceive object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgIBCReceive

    MsgIBCReceive object

unmarshalMsgIBCTransfer

  • Unmarshal a MsgIBCTransfer object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgIBCTransfer object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgIBCTransfer

    MsgIBCTransfer object

unmarshalMsgInfo

  • Unmarshal a MsgInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgInfo

    MsgInfo object

unmarshalMsgMultiSend

  • Unmarshal a MsgMultiSend object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgMultiSend object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgMultiSend

    MsgMultiSend object

unmarshalMsgSend

  • Unmarshal a MsgSend object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgSend object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgSend

    MsgSend object

unmarshalMsgSetWithdrawAddress

  • Unmarshal a MsgSetWithdrawAddress object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgSetWithdrawAddress object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgSetWithdrawAddress

    MsgSetWithdrawAddress object

unmarshalMsgSubmitProposal

  • Unmarshal a MsgSubmitProposal object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgSubmitProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgSubmitProposal

    MsgSubmitProposal object

unmarshalMsgUndelegate

  • Unmarshal a MsgUndelegate object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgUndelegate object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgUndelegate

    MsgUndelegate object

unmarshalMsgUnjail

  • Unmarshal a MsgUnjail object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgUnjail object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgUnjail

    MsgUnjail object

unmarshalMsgVerifyInvariant

  • Unmarshal a MsgVerifyInvariant object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgVerifyInvariant object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgVerifyInvariant

    MsgVerifyInvariant object

unmarshalMsgVote

  • Unmarshal a MsgVote object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgVote object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgVote

    MsgVote object

unmarshalMsgWithdrawDelegatorReward

  • Unmarshal a MsgWithdrawDelegatorReward object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgWithdrawDelegatorReward object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgWithdrawDelegatorReward

    MsgWithdrawDelegatorReward object

unmarshalMsgWithdrawValidatorCommission

  • Unmarshal a MsgWithdrawValidatorCommission object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MsgWithdrawValidatorCommission object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MsgWithdrawValidatorCommission

    MsgWithdrawValidatorCommission object

unmarshalMultiInfo

  • Unmarshal a MultiInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MultiInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MultiInfo

    MultiInfo object

unmarshalMultiStoreProofOp

  • Unmarshal a MultiStoreProofOp object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded MultiStoreProofOp object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns MultiStoreProofOp

    MultiStoreProofOp object

unmarshalNewRoundStepMessage

  • Unmarshal a NewRoundStepMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded NewRoundStepMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns NewRoundStepMessage

    NewRoundStepMessage object

unmarshalNewValidBlockMessage

  • Unmarshal a NewValidBlockMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded NewValidBlockMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns NewValidBlockMessage

    NewValidBlockMessage object

unmarshalOfflineInfo

  • Unmarshal a OfflineInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded OfflineInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns OfflineInfo

    OfflineInfo object

unmarshalPacket

  • Unmarshal a Packet object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Packet object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Packet

    Packet object

unmarshalPacketMsg

  • Unmarshal a PacketMsg object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PacketMsg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PacketMsg

    PacketMsg object

unmarshalPacketPing

  • Unmarshal a PacketPing object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PacketPing object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PacketPing

    PacketPing object

unmarshalPacketPong

  • Unmarshal a PacketPong object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PacketPong object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PacketPong

    PacketPong object

unmarshalParameterChangeProposal

  • Unmarshal a ParameterChangeProposal object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded ParameterChangeProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns ParameterChangeProposal

    ParameterChangeProposal object

unmarshalPexAddrsMessage

  • Unmarshal a PexAddrsMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PexAddrsMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PexAddrsMessage

    PexAddrsMessage object

unmarshalPexMessage

  • Unmarshal a PexMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PexMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PexMessage

    PexMessage object

unmarshalPexRequestMessage

  • Unmarshal a PexRequestMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PexRequestMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PexRequestMessage

    PexRequestMessage object

unmarshalPingRequest

  • Unmarshal a PingRequest object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PingRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PingRequest

    PingRequest object

unmarshalPingResponse

  • Unmarshal a PingResponse object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PingResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PingResponse

    PingResponse object

unmarshalPrivKey

  • Unmarshal a PrivKey object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PrivKey object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PrivKey

    PrivKey object

unmarshalPrivKeyEd25519

  • Unmarshal a PrivKeyEd25519 object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PrivKeyEd25519 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PrivKeyEd25519

    PrivKeyEd25519 object

unmarshalPrivKeyLedgerSecp256k1

  • Unmarshal a PrivKeyLedgerSecp256k1 object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PrivKeyLedgerSecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PrivKeyLedgerSecp256k1

    PrivKeyLedgerSecp256k1 object

unmarshalPrivKeySecp256k1

  • Unmarshal a PrivKeySecp256k1 object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PrivKeySecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PrivKeySecp256k1

    PrivKeySecp256k1 object

unmarshalProposalMessage

  • Unmarshal a ProposalMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded ProposalMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns ProposalMessage

    ProposalMessage object

unmarshalProposalPOLMessage

  • Unmarshal a ProposalPOLMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded ProposalPOLMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns ProposalPOLMessage

    ProposalPOLMessage object

unmarshalPubKey

  • Unmarshal a PubKey object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKey object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKey

    PubKey object

unmarshalPubKeyEd25519

  • Unmarshal a PubKeyEd25519 object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKeyEd25519 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKeyEd25519

    PubKeyEd25519 object

unmarshalPubKeyMultisigThreshold

  • Unmarshal a PubKeyMultisigThreshold object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKeyMultisigThreshold object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKeyMultisigThreshold

    PubKeyMultisigThreshold object

unmarshalPubKeyRequest

  • Unmarshal a PubKeyRequest object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKeyRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKeyRequest

    PubKeyRequest object

unmarshalPubKeyResponse

  • Unmarshal a PubKeyResponse object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKeyResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKeyResponse

    PubKeyResponse object

unmarshalPubKeySecp256k1

  • Unmarshal a PubKeySecp256k1 object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded PubKeySecp256k1 object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns PubKeySecp256k1

    PubKeySecp256k1 object

unmarshalRemoteSignerMsg

  • Unmarshal a RemoteSignerMsg object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded RemoteSignerMsg object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns RemoteSignerMsg

    RemoteSignerMsg object

unmarshalSignProposalRequest

  • Unmarshal a SignProposalRequest object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded SignProposalRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns SignProposalRequest

    SignProposalRequest object

unmarshalSignVoteRequest

  • Unmarshal a SignVoteRequest object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded SignVoteRequest object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns SignVoteRequest

    SignVoteRequest object

unmarshalSignedProposalResponse

  • Unmarshal a SignedProposalResponse object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded SignedProposalResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns SignedProposalResponse

    SignedProposalResponse object

unmarshalSignedVoteResponse

  • Unmarshal a SignedVoteResponse object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded SignedVoteResponse object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns SignedVoteResponse

    SignedVoteResponse object

unmarshalSoftwareUpgradeProposal

  • Unmarshal a SoftwareUpgradeProposal object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded SoftwareUpgradeProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns SoftwareUpgradeProposal

    SoftwareUpgradeProposal object

unmarshalStdTx

  • Unmarshal a StdTx object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded StdTx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns StdTx

    StdTx object

unmarshalTMEventData

  • Unmarshal a TMEventData object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded TMEventData object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns TMEventData

    TMEventData object

unmarshalTextProposal

  • Unmarshal a TextProposal object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded TextProposal object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns TextProposal

    TextProposal object

unmarshalTimeoutInfo

  • Unmarshal a TimeoutInfo object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded TimeoutInfo object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns TimeoutInfo

    TimeoutInfo object

unmarshalTx

  • unmarshalTx(amino: AminoBytes, lengthPrefixed?: boolean): Tx
  • Unmarshal a Tx object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded Tx object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns Tx

    Tx object

unmarshalTxMessage

  • Unmarshal a TxMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded TxMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns TxMessage

    TxMessage object

unmarshalVestingAccount

  • Unmarshal a VestingAccount object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded VestingAccount object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns VestingAccount

    VestingAccount object

unmarshalVoteMessage

  • Unmarshal a VoteMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded VoteMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns VoteMessage

    VoteMessage object

unmarshalVoteSetBitsMessage

  • Unmarshal a VoteSetBitsMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded VoteSetBitsMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns VoteSetBitsMessage

    VoteSetBitsMessage object

unmarshalVoteSetMaj23Message

  • Unmarshal a VoteSetMaj23Message object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded VoteSetMaj23Message object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns VoteSetMaj23Message

    VoteSetMaj23Message object

unmarshalWALMessage

  • Unmarshal a WALMessage object from Amino

    throws

    will throw if decoding fails

    Parameters

    • amino: AminoBytes

      Amino-encoded WALMessage object

    • Default value lengthPrefixed: boolean = true

      if true, use length-prefixed Amino decoding; if false, use bare Amino decoding

    Returns WALMessage

    WALMessage object

Generated using TypeDoc