@somnia-chain/markets-sdk


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

Interface: TransactionSummary

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

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:220

Sender (the wallet that paid gas), lowercased.


to

to: string | null

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

Target contract, lowercased; null on a deployment.


nonce

nonce: number

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


status

status: "success" | "reverted"

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


gasUsed

gasUsed: bigint

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


gasLimit

gasLimit: bigint

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

The sender's gas limit for the tx.


effectiveGasPrice

effectiveGasPrice: bigint

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


feeWei

feeWei: bigint

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

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


value

value: bigint

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

Native value sent with the tx (wei).


logCount

logCount: number

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

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