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

interface SignDocCamelCase {
    accountNumber: string;
    authInfoBytes: Uint8Array;
    bodyBytes: Uint8Array;
    chainId: string;
}

Properties

accountNumber: string

accountNumber is the account number of the account in state

authInfoBytes: Uint8Array

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

bodyBytes: Uint8Array

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

chainId: string

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

Generated using TypeDoc