Interface StorageInfo

interface StorageInfo {
    availableStorage: number;
    usedStorage: number;
    availableBandwidth: number;
    usedBandwidth: number;
}

Properties

availableStorage: number

Available storage space in bytes

usedStorage: number

Used storage in bytes. When usedStorage reaches available storage, upload to buckets will be blocked (error 40006003)

availableBandwidth: number

Monthly available bandwidth (upload and download)

usedBandwidth: number

Bandwidth used in current month. If usedBandwidth reaches available bandwidth, requests to the IPFS gateway will be blocked