Skip to content

CommitResult

Defined in: packages/synapse-sdk/src/types.ts:639

Result of a commit operation

optional confirmedTxHash?: `0x${string}`

Defined in: packages/synapse-sdk/src/types.ts:652

Hash included on chain once confirmed. Differs from txHash when Curio replaced the original send by fee. Omitted when the SP does not report it (older Curio). For explorers and receipt lookups use confirmedTxHash ?? txHash.


dataSetId: bigint

Defined in: packages/synapse-sdk/src/types.ts:656

Data set ID (may be newly created)


isNewDataSet: boolean

Defined in: packages/synapse-sdk/src/types.ts:658

Whether a new data set was created


pieceIds: bigint[]

Defined in: packages/synapse-sdk/src/types.ts:654

Piece IDs assigned by the contract


txHash: `0x${string}`

Defined in: packages/synapse-sdk/src/types.ts:645

Original Location / wait-key transaction hash from Curio. Not necessarily the included on-chain hash after replace-by-fee. Keep using this for Curio status polling / resume URLs.