Skip to content

EnhancedDataSetInfo

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

Enhanced data set information with chain details and clear ID separation

cacheMissRailId: bigint

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

For CDN add-on: ID of the cache miss payment rail

DataSetInfo.cacheMissRailId


cdnRailId: bigint

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

For CDN add-on: ID of the CDN payment rail

DataSetInfo.cdnRailId


clientDataSetId: bigint

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

Client’s sequential dataset ID within this Warm Storage contract

DataSetInfo.clientDataSetId


commissionBps: bigint

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

Commission rate in basis points (dynamic based on CDN usage)

DataSetInfo.commissionBps


dataSetId: bigint

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

PDP Data Set ID

DataSetInfo.dataSetId


hasActivePieces: boolean

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

Whether the data set contains at least one active piece (non-zero leaf count).


isLive: boolean

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

Whether the data set is live on-chain


isManaged: boolean

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

Whether this data set is managed by the current Warm Storage contract


lifecycleReserveBalance: bigint

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

Current fixed lifecycle reserve balance mirrored from the PDP payment rail.

DataSetInfo.lifecycleReserveBalance


metadata: Record<string, string>

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

Metadata associated with this data set (key-value pairs)


payee: `0x${string}`

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

SP’s beneficiary address

DataSetInfo.payee


payer: `0x${string}`

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

Address paying for storage

DataSetInfo.payer


optional paymentEndEpoch?: bigint

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

DataSetInfo.paymentEndEpoch


pdpEndEpoch: bigint

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

Epoch when PDP payments end (0 if not terminated)

DataSetInfo.pdpEndEpoch


pdpRailId: bigint

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

ID of the PDP payment rail

DataSetInfo.pdpRailId


pdpVerifierDataSetId: bigint

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

PDPVerifier global data set ID


pendingOneTimePayments: bigint

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

One-time operation fees waiting to be flushed from the lifecycle reserve.

DataSetInfo.pendingOneTimePayments


providerId: bigint

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

Provider ID from the ServiceProviderRegistry

DataSetInfo.providerId


serviceProvider: `0x${string}`

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

Service provider address (operator)

DataSetInfo.serviceProvider


withCDN: boolean

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

Whether the data set is using CDN (cdnRailId > 0 and withCDN metadata key present)