Skip to main content

Interface: DeliverTxResponse

The response after successfully broadcasting a transaction. Success or failure refer to the execution result.

Properties

code

Readonly code: number

Error code. The transaction suceeded iff code is 0.

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:88


data

Optional Readonly data: readonly MsgData[]

Deprecated

Use msgResponses instead.

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:100


events

Readonly events: readonly Event[]

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:90


gasUsed

Readonly gasUsed: number

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:110


gasWanted

Readonly gasWanted: number

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:111


height

Readonly height: number

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:84


msgResponses

Readonly msgResponses: { typeUrl: string ; value: Uint8Array }[]

The message responses of the TxMsgData as Anys. This field is an empty list for chains running Cosmos SDK < 0.46.

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:106


rawLog

Optional Readonly rawLog: string

A 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.

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:98


transactionHash

Readonly transactionHash: string

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:89


txIndex

Readonly txIndex: number

The position of the transaction within the block. This is a 0-based index.

Defined in

node_modules/@cosmjs/stargate/build/stargateclient.d.ts:86