Skip to content

DataSetInfo

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

Data set information returned from Warm Storage contract

cacheMissRailId: bigint

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

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


cdnRailId: bigint

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

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


clientDataSetId: bigint

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

Client’s sequential dataset ID within this Warm Storage contract


commissionBps: bigint

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

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


dataSetId: bigint

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

PDP Data Set ID


lifecycleReserveBalance: bigint

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

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


payee: `0x${string}`

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

SP’s beneficiary address


payer: `0x${string}`

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

Address paying for storage


optional paymentEndEpoch?: bigint

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


pdpEndEpoch: bigint

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

Epoch when PDP payments end (0 if not terminated)


pdpRailId: bigint

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

ID of the PDP payment rail


pendingOneTimePayments: bigint

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

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


providerId: bigint

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

Provider ID from the ServiceProviderRegistry


serviceProvider: `0x${string}`

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

Service provider address (operator)