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
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.
This field is not filled anymore in Cosmos SDK 0.50+ (https://github.com/cosmos/cosmos-sdk/pull/15845).
Please consider using events
instead.
Readonly
txRaw transaction bytes stored in Tendermint.
If you hash this, you get the transaction hash (= transaction ID):
import { sha256 } from "@cosmjs/crypto";
import { toHex } from "@cosmjs/encoding";
const transactionId = toHex(sha256(indexTx.tx)).toUpperCase();
Use decodeTxRaw
from @cosmjs/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