Skip to content

DataSetInfo

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

Data set information returned from Warm Storage contract

cacheMissRailId: bigint

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

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


cdnRailId: bigint

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

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


clientDataSetId: bigint

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

Client’s sequential dataset ID within this Warm Storage contract


commissionBps: bigint

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

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


dataSetId: bigint

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

PDP Data Set ID


payee: `0x${string}`

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

SP’s beneficiary address


payer: `0x${string}`

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

Address paying for storage


optional paymentEndEpoch: bigint

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


pdpEndEpoch: bigint

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

Epoch when PDP payments end (0 if not terminated)


pdpRailId: bigint

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

ID of the PDP payment rail


providerId: bigint

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

Provider ID from the ServiceProviderRegistry


serviceProvider: `0x${string}`

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

Service provider address (operator)