Skip to main content

Interface: TxRaw

TxRaw is a variant of Tx that pins the signer's exact binary representation of body and auth_info. This is used for signing, broadcasting and verification. The binary serialize(tx: TxRaw) is stored in Tendermint and the hash sha256(serialize(tx: TxRaw)) becomes the "txhash", commonly used as the transaction ID.

Properties

authInfoBytes

authInfoBytes: Uint8Array

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

Defined in

node_modules/cosmjs-types/cosmos/tx/v1beta1/tx.d.ts:42


bodyBytes

bodyBytes: Uint8Array

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

Defined in

node_modules/cosmjs-types/cosmos/tx/v1beta1/tx.d.ts:37


signatures

signatures: Uint8Array[]

signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

Defined in

node_modules/cosmjs-types/cosmos/tx/v1beta1/tx.d.ts:48