SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.

from message cosmos.tx.v1beta1.SignDoc

Hierarchy

Constructors

Properties

accountNumber: bigint = protoInt64.zero

account_number is the account number of the account in state

from field: uint64 account_number = 4;

authInfoBytes: Uint8Array = ...

auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

from field: bytes auth_info_bytes = 2;

bodyBytes: Uint8Array = ...

body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

from field: bytes body_bytes = 1;

chainId: string = ""

chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

from field: string chain_id = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.tx.v1beta1.SignDoc" = "cosmos.tx.v1beta1.SignDoc"

Methods