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

interface SignDocAmino {
    account_number?: string;
    auth_info_bytes?: string;
    body_bytes?: string;
    chain_id?: string;
}

Properties

account_number?: string

account_number is the account number of the account in state

auth_info_bytes?: string

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

body_bytes?: string

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

chain_id?: 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