EnhancedDataSetInfo
Defined in: packages/synapse-sdk/src/types.ts:222
Enhanced data set information with chain details and clear ID separation
Extends
Section titled “Extends”Properties
Section titled “Properties”cacheMissRailId
Section titled “cacheMissRailId”cacheMissRailId: number;
Defined in: packages/synapse-sdk/src/types.ts:196
For CDN add-on: ID of the cache miss payment rail
Inherited from
Section titled “Inherited from”cdnEndEpoch
Section titled “cdnEndEpoch”cdnEndEpoch: number;
Defined in: packages/synapse-sdk/src/types.ts:214
Epoch when CDN payments end (0 if not terminated)
Inherited from
Section titled “Inherited from”cdnRailId
Section titled “cdnRailId”cdnRailId: number;
Defined in: packages/synapse-sdk/src/types.ts:198
For CDN add-on: ID of the CDN payment rail
Inherited from
Section titled “Inherited from”clientDataSetId
Section titled “clientDataSetId”clientDataSetId: number;
Defined in: packages/synapse-sdk/src/types.ts:208
Client’s sequential dataset ID within this Warm Storage contract
Inherited from
Section titled “Inherited from”commissionBps
Section titled “commissionBps”commissionBps: number;
Defined in: packages/synapse-sdk/src/types.ts:206
Commission rate in basis points (dynamic based on CDN usage)
Inherited from
Section titled “Inherited from”currentPieceCount
Section titled “currentPieceCount”currentPieceCount: number;
Defined in: packages/synapse-sdk/src/types.ts:228
Current number of pieces in the data set
isLive
Section titled “isLive”isLive: boolean;
Defined in: packages/synapse-sdk/src/types.ts:230
Whether the data set is live on-chain
isManaged
Section titled “isManaged”isManaged: boolean;
Defined in: packages/synapse-sdk/src/types.ts:232
Whether this data set is managed by the current Warm Storage contract
metadata
Section titled “metadata”metadata: Record<string, string>;
Defined in: packages/synapse-sdk/src/types.ts:236
Metadata associated with this data set (key-value pairs)
nextPieceId
Section titled “nextPieceId”nextPieceId: number;
Defined in: packages/synapse-sdk/src/types.ts:226
Next piece ID to use when adding pieces
payee: string;
Defined in: packages/synapse-sdk/src/types.ts:202
SP’s beneficiary address
Inherited from
Section titled “Inherited from”payer: string;
Defined in: packages/synapse-sdk/src/types.ts:200
Address paying for storage
Inherited from
Section titled “Inherited from”paymentEndEpoch?
Section titled “paymentEndEpoch?”optional paymentEndEpoch: number;
Defined in: packages/synapse-sdk/src/types.ts:216
Inherited from
Section titled “Inherited from”pdpEndEpoch
Section titled “pdpEndEpoch”pdpEndEpoch: number;
Defined in: packages/synapse-sdk/src/types.ts:210
Epoch when PDP payments end (0 if not terminated)
Inherited from
Section titled “Inherited from”pdpRailId
Section titled “pdpRailId”pdpRailId: number;
Defined in: packages/synapse-sdk/src/types.ts:194
ID of the PDP payment rail
Inherited from
Section titled “Inherited from”pdpVerifierDataSetId
Section titled “pdpVerifierDataSetId”pdpVerifierDataSetId: number;
Defined in: packages/synapse-sdk/src/types.ts:224
PDPVerifier global data set ID
providerId
Section titled “providerId”providerId: number;
Defined in: packages/synapse-sdk/src/types.ts:212
Provider ID from the ServiceProviderRegistry
Inherited from
Section titled “Inherited from”serviceProvider
Section titled “serviceProvider”serviceProvider: string;
Defined in: packages/synapse-sdk/src/types.ts:204
Service provider address (operator)
Inherited from
Section titled “Inherited from”withCDN
Section titled “withCDN”withCDN: boolean;
Defined in: packages/synapse-sdk/src/types.ts:234
Whether the data set is using CDN (derived from cdnRailId > 0)