@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / TransactionSummary

Interface: TransactionSummary

Defined in: packages/sdk/src/system.ts:192

Chain-direct summary of one transaction — sender, gas spent, fee paid, status — for enriching an order/fill view with what the tx cost. One eth_getTransactionByHash + one eth_getTransactionReceipt, in parallel.

Properties

from

from: string

Defined in: packages/sdk/src/system.ts:194

Sender (the wallet that paid gas), lowercased.


to

to: string | null

Defined in: packages/sdk/src/system.ts:196

Target contract, lowercased; null on a deployment.


nonce

nonce: number

Defined in: packages/sdk/src/system.ts:197


status

status: "success" | "reverted"

Defined in: packages/sdk/src/system.ts:198


gasUsed

gasUsed: bigint

Defined in: packages/sdk/src/system.ts:199


gasLimit

gasLimit: bigint

Defined in: packages/sdk/src/system.ts:201

The sender's gas limit for the tx.


effectiveGasPrice

effectiveGasPrice: bigint

Defined in: packages/sdk/src/system.ts:202


feeWei

feeWei: bigint

Defined in: packages/sdk/src/system.ts:204

gasUsed × effectiveGasPrice — the fee paid, wei of the native token.


value

value: bigint

Defined in: packages/sdk/src/system.ts:206

Native value sent with the tx (wei).


logCount

logCount: number

Defined in: packages/sdk/src/system.ts:208

Log records in the receipt — how much the tx did (batch orders emit many).