# StorageInfo

Defined in: [packages/synapse-sdk/src/types.ts:452](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L452)

Comprehensive storage service information

## Properties

### allowances

```ts
allowances: 
  | {
  isApproved: boolean;
  lockupAllowance: bigint;
  lockupUsed: bigint;
  rateAllowance: bigint;
  rateUsed: bigint;
  service: string;
}
  | null;
```

Defined in: [packages/synapse-sdk/src/types.ts:505](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L505)

Current user allowances (null if wallet not connected)

#### Type Declaration

```ts
{
  isApproved: boolean;
  lockupAllowance: bigint;
  lockupUsed: bigint;
  rateAllowance: bigint;
  rateUsed: bigint;
  service: string;
}
```

#### isApproved

```ts
isApproved: boolean;
```

Whether the service operator is approved to act on behalf of the wallet

#### lockupAllowance

```ts
lockupAllowance: bigint;
```

Maximum lockup amount allowed

#### lockupUsed

```ts
lockupUsed: bigint;
```

Current lockup allowance used

#### rateAllowance

```ts
rateAllowance: bigint;
```

Maximum payment rate per epoch allowed

#### rateUsed

```ts
rateUsed: bigint;
```

Current rate allowance used

#### service

```ts
service: string;
```

Service contract address

`null`

***

### pricing

```ts
pricing: object;
```

Defined in: [packages/synapse-sdk/src/types.ts:454](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L454)

Pricing information for storage services

#### noCDN

```ts
noCDN: object;
```

Pricing without CDN

##### noCDN.perTiBPerDay

```ts
perTiBPerDay: bigint;
```

Cost per TiB per day in token units

##### noCDN.perTiBPerEpoch

```ts
perTiBPerEpoch: bigint;
```

Cost per TiB per epoch in token units

##### noCDN.perTiBPerMonth

```ts
perTiBPerMonth: bigint;
```

Cost per TiB per month in token units

#### tokenAddress

```ts
tokenAddress: string;
```

Token contract address

#### tokenSymbol

```ts
tokenSymbol: string;
```

Token symbol (always USDFC for now)

#### withCDN

```ts
withCDN: object;
```

Pricing with CDN enabled

##### withCDN.perTiBPerDay

```ts
perTiBPerDay: bigint;
```

Cost per TiB per day in token units

##### withCDN.perTiBPerEpoch

```ts
perTiBPerEpoch: bigint;
```

Cost per TiB per epoch in token units

##### withCDN.perTiBPerMonth

```ts
perTiBPerMonth: bigint;
```

Cost per TiB per month in token units

***

### providers

```ts
providers: ProviderInfo[];
```

Defined in: [packages/synapse-sdk/src/types.ts:480](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L480)

List of approved service providers

***

### serviceParameters

```ts
serviceParameters: object;
```

Defined in: [packages/synapse-sdk/src/types.ts:483](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-sdk/src/types.ts#L483)

Service configuration parameters

#### epochDuration

```ts
epochDuration: number;
```

Duration of each epoch in seconds

#### epochsPerDay

```ts
epochsPerDay: bigint;
```

Number of epochs in a day

#### epochsPerMonth

```ts
epochsPerMonth: bigint;
```

Number of epochs in a month

#### maxUploadSize

```ts
maxUploadSize: number;
```

Maximum allowed upload size in bytes

#### minUploadSize

```ts
minUploadSize: number;
```

Minimum allowed upload size in bytes

#### network

```ts
network: FilecoinNetworkType;
```

Network type (mainnet or calibration)

#### paymentsAddress

```ts
paymentsAddress: string;
```

Payments contract address

#### pdpVerifierAddress

```ts
pdpVerifierAddress: string;
```

PDP Verifier contract address

#### warmStorageAddress

```ts
warmStorageAddress: string;
```

Warm Storage service contract address