Readonly
codeTransaction execution error code. 0 on success.
Readonly
eventsReadonly
gasReadonly
gasReadonly
hashTransaction hash (might be used as transaction ID). Guaranteed to be non-empty upper-case hex
Readonly
heightReadonly
msgThe message responses of the TxMsgData
as Any
s.
This field is an empty list for chains running Cosmos SDK < 0.46.
Readonly
typeReadonly
value: Uint8ArrayReadonly
rawA string-based log document.
This currently seems to merge attributes of multiple events into one event per type
(https://github.com/tendermint/tendermint/issues/9595). You might want to use the events
field instead.
Readonly
txRaw transaction bytes stored in Tendermint.
If you hash this, you get the transaction hash (= transaction ID):
import { sha256 } from "../lib/crypto";
import { toHex } from "../lib/encoding";
const transactionId = toHex(sha256(indexTx.tx)).toUpperCase();
Use decodeTxRaw
from ../lib/proto-signing to decode this.
Readonly
txThe position of the transaction within the block. This is a 0-based index.
Generated using TypeDoc
A transaction that is indexed as part of the transaction history