Options
All
  • Public
  • Public/Protected
  • All
Menu

@shadow-drive/sdk - v2.0.2

Index

Type aliases

CreateStorageResponse: { shdw_bucket: string; transaction_signature: string }

Type declaration

  • shdw_bucket: string
  • transaction_signature: string
ShadowBatchUploadResponse: { fileName: string; location: string; status: string; transaction_signature?: string }

Type declaration

  • fileName: string
  • location: string
  • status: string
  • Optional transaction_signature?: string
ShadowDriveResponse: { txid: string }

Type declaration

  • txid: string
ShadowFile: { file: Buffer; name?: string }

Type declaration

  • file: Buffer
  • Optional name?: string
ShadowUploadResponse: { finalized_location: string; transaction_signature: string }

Type declaration

  • finalized_location: string
  • transaction_signature: string
StorageAccount: { accountCounterSeed: number; creationEpoch: number; creationTime: number; delCounter: number; deleteRequestEpoch: number; identifier: string; immutable: boolean; initCounter: number; isStatic: boolean; lastFeeEpoch: number; owner1: anchor.web3.PublicKey; owner2: anchor.web3.PublicKey; shdwPayer: anchor.web3.PublicKey; storage: number; storageAvailable: number; toBeDeleted: boolean; totalCostOfCurrentStorage: number; totalFeesPaid: number }

Type declaration

  • accountCounterSeed: number
  • creationEpoch: number
  • creationTime: number
  • delCounter: number
  • deleteRequestEpoch: number
  • identifier: string
  • immutable: boolean
  • initCounter: number
  • isStatic: boolean
  • lastFeeEpoch: number
  • owner1: anchor.web3.PublicKey
  • owner2: anchor.web3.PublicKey
  • shdwPayer: anchor.web3.PublicKey
  • storage: number
  • storageAvailable: number
  • toBeDeleted: boolean
  • totalCostOfCurrentStorage: number
  • totalFeesPaid: number
StorageAccountResponse: { account: StorageAccount; publicKey: anchor.web3.PublicKey }

Type declaration

Generated using TypeDoc