bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class MsgVote

    MsgVote defines a message to cast a vote.

    from message cosmos.gov.v1.MsgVote

    Hierarchy

    Index

    Constructors

    Properties

    metadata: string = ""

    metadata is any arbitrary metadata attached to the Vote.

    from field: string metadata = 4;

    option: cosmos.gov.v1.VoteOption = VoteOption.UNSPECIFIED

    option defines the vote option.

    from field: cosmos.gov.v1.VoteOption option = 3;

    proposalId: bigint = protoInt64.zero

    proposal_id defines the unique id of the proposal.

    from field: uint64 proposal_id = 1;

    voter: string = ""

    voter is the voter address for the proposal.

    from field: string voter = 2;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "cosmos.gov.v1.MsgVote"

    Methods