Options
All
  • Public
  • Public/Protected
  • All
Menu

@shadow-drive/sdk - v3.0.7

Index

Type aliases

CreateStorageResponse: { shdw_bucket: string; transaction_signature: string }

Type declaration

  • shdw_bucket: string
  • transaction_signature: string
ListObjectsResponse: { keys: string[] }

Type declaration

  • keys: string[]
ShadowBatchUploadResponse: { fileName: string; location: string; status: string }

Type declaration

  • fileName: string
  • location: string
  • status: string
ShadowDriveResponse: { txid: string }

Type declaration

  • txid: string
ShadowDriveVersion: "v1" | "v2"
ShadowFile: { file: Buffer; name?: string }

Type declaration

  • file: Buffer
  • Optional name?: string
ShadowUploadResponse: { finalized_locations: string[]; message: string; upload_errors: UploadError[] }

Type declaration

  • finalized_locations: string[]
  • message: string
  • upload_errors: UploadError[]
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
StorageAccountInfo: { account_counter_seed: number; creation_epoch: number; creation_time: number; current_usage: number; delet_request_epoch: number; identifier: string; immutable: boolean; last_fee_epoch: number; owner1: PublicKey; reserved_bytes: number; storage_account: PublicKey; to_be_deleted: boolean }

Type declaration

  • account_counter_seed: number
  • creation_epoch: number
  • creation_time: number
  • current_usage: number
  • delet_request_epoch: number
  • identifier: string
  • immutable: boolean
  • last_fee_epoch: number
  • owner1: PublicKey
  • reserved_bytes: number
  • storage_account: PublicKey
  • to_be_deleted: boolean
StorageAccountResponse: { account: StorageAccount; publicKey: anchor.web3.PublicKey }

Type declaration

Generated using TypeDoc