Skip to content

DataSetInfo

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

Data set information returned from Warm Storage contract

cacheMissRailId: number;

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

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


cdnRailId: number;

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

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


clientDataSetId: bigint;

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

Client’s sequential dataset ID within this Warm Storage contract


commissionBps: number;

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

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


dataSetId: number | bigint;

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

PDP Data Set ID


payee: string;

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

SP’s beneficiary address


payer: string;

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

Address paying for storage


optional paymentEndEpoch: number;

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


pdpEndEpoch: number;

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

Epoch when PDP payments end (0 if not terminated)


pdpRailId: number;

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

ID of the PDP payment rail


providerId: number;

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

Provider ID from the ServiceProviderRegistry


serviceProvider: string;

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

Service provider address (operator)