@somnia-chain/markets-sdk


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

Interface: Executed

Defined in: packages/sdk/src/executor/types.ts:62

What an executor hands back: the receipt it already holds, fetched once by whoever sent the transaction, plus any INNER failure it detected that the receipt's own status does not show.

Details

failure is how a safe reports a swallowed revert: the outer transaction mines with status: "success" while the safe's failure event says the inner call reverted. The writer throws it exactly as it throws a reverted receipt, so a caller never has to know which actor sent the write.

Properties

hash

hash: `0x${string}`

Defined in: packages/sdk/src/executor/types.ts:64

Hash of the transaction the executor sent (the OUTER transaction for a safe).


receipt

receipt: TransactionReceipt

Defined in: packages/sdk/src/executor/types.ts:66

The mined receipt, as the executor received it.


failure?

optional failure?: ContractRevertError

Defined in: packages/sdk/src/executor/types.ts:68

An inner failure the executor detected on a receipt whose status is success.


executionTimeMicros?

optional executionTimeMicros?: number

Defined in: packages/sdk/src/executor/types.ts:77

Node-side end-to-end time of the send in microseconds (mempool, finality and execution), as the node reported it with the receipt. The built-in local-signer and session-key executors set it from the executionTimeMicros field of eth_sendRawTransactionSync and somnia_sendSessionTransaction. Leave it unset when the send path does not report it; the writer passes it through to the write's result.