Search
Preparing search index...
The search index is not available
@shadow-drive/sdk - v6.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@shadow-drive/sdk - v6.0.0
Index
Classes
Shdw
Drive
Storage
Account
Storage
Account
V2
Storage
Config
Unstake
Info
User
Info
Interfaces
Claim
Stake2
Accounts
Decrease
Storage2
Accounts
Decrease
Storage2
Args
Delete
Account2
Accounts
Delete
Account2
Args
Increase
Immutable
Storage2
Accounts
Increase
Immutable
Storage2
Args
Increase
Storage2
Accounts
Increase
Storage2
Args
Initialize
Account2
Accounts
Initialize
Account2
Args
Make
Account
Immutable2
Accounts
Make
Account
Immutable2
Args
Migrate
Step1
Accounts
Migrate
Step2
Accounts
Refresh
Stake2
Accounts
Request
Delete
Account2
Accounts
Unmark
Delete
Account2
Accounts
Update
Account2
Accounts
Update
Account2
Args
Type aliases
Create
Storage
Response
Custom
Error
List
Objects
Response
Shadow
Batch
Upload
Response
Shadow
Drive
Response
Shadow
File
Shadow
Upload
Response
Storage
Account
Info
Type aliases
Create
Storage
Response
Create
Storage
Response
:
{
shdw_bucket
:
string
;
transaction_signature
:
string
}
Type declaration
shdw_
bucket
:
string
transaction_
signature
:
string
Custom
Error
Custom
Error
:
NotEnoughStorage
|
FileNameLengthExceedsLimit
|
InvalidSha256Hash
|
HasHadBadCsam
|
StorageAccountMarkedImmutable
|
ClaimingStakeTooSoon
|
SolanaStorageAccountNotMutable
|
RemovingTooMuchStorage
|
UnsignedIntegerCastFailed
|
NonzeroRemainingFileAccounts
|
AccountStillInGracePeriod
|
AccountNotMarkedToBeDeleted
|
FileStillInGracePeriod
|
FileNotMarkedToBeDeleted
|
FileMarkedImmutable
|
NoStorageIncrease
|
ExceededStorageLimit
|
InsufficientFunds
|
NotEnoughStorageOnShadowDrive
|
AccountTooSmall
|
DidNotAgreeToToS
|
InvalidTokenTransferAmounts
|
FailedToCloseAccount
|
FailedToTransferToEmissionsWallet
|
FailedToTransferToEmissionsWalletFromUser
|
FailedToReturnUserFunds
|
NeedSomeFees
|
NeedSomeCrankBps
|
AlreadyMarkedForDeletion
|
EmptyStakeAccount
|
IdentifierExceededMaxLength
|
OnlyAdmin1CanChangeAdmins
|
OnlyOneOwnerAllowedInV1_5
List
Objects
Response
List
Objects
Response
:
{
keys
:
string
[]
}
Type declaration
keys
:
string
[]
Shadow
Batch
Upload
Response
Shadow
Batch
Upload
Response
:
{
fileName
:
string
;
location
:
string
;
status
:
string
}
Type declaration
file
Name
:
string
location
:
string
status
:
string
Shadow
Drive
Response
Shadow
Drive
Response
:
{
message
:
string
;
transaction_signature
?:
string
}
Type declaration
message
:
string
Optional
transaction_
signature
?:
string
Shadow
File
Shadow
File
:
{
file
:
Buffer
;
name
?:
string
}
Type declaration
file
:
Buffer
Optional
name
?:
string
Shadow
Upload
Response
Shadow
Upload
Response
:
{
finalized_locations
:
string
[]
;
message
:
string
;
upload_errors
:
UploadError
[]
}
Type declaration
finalized_
locations
:
string
[]
message
:
string
upload_
errors
:
UploadError
[]
Storage
Account
Info
Storage
Account
Info
:
{
account_counter_seed
:
number
;
creation_epoch
:
number
;
creation_time
:
number
;
current_usage
:
number
;
delete_request_epoch
:
number
;
identifier
:
string
;
immutable
:
boolean
;
last_fee_epoch
:
number
;
owner1
:
web3.PublicKey
;
reserved_bytes
:
number
;
storage_account
:
web3.PublicKey
;
to_be_deleted
:
boolean
;
version
:
"V1"
|
"V2"
}
Type declaration
account_
counter_
seed
:
number
creation_
epoch
:
number
creation_
time
:
number
current_
usage
:
number
delete_
request_
epoch
:
number
identifier
:
string
immutable
:
boolean
last_
fee_
epoch
:
number
owner1
:
web3.PublicKey
reserved_
bytes
:
number
storage_
account
:
web3.PublicKey
to_
be_
deleted
:
boolean
version
:
"V1"
|
"V2"
Exports
Shdw
Drive
Storage
Account
Storage
Account
V2
Storage
Config
Unstake
Info
User
Info
Claim
Stake2
Accounts
Decrease
Storage2
Accounts
Decrease
Storage2
Args
Delete
Account2
Accounts
Delete
Account2
Args
Increase
Immutable
Storage2
Accounts
Increase
Immutable
Storage2
Args
Increase
Storage2
Accounts
Increase
Storage2
Args
Initialize
Account2
Accounts
Initialize
Account2
Args
Make
Account
Immutable2
Accounts
Make
Account
Immutable2
Args
Migrate
Step1
Accounts
Migrate
Step2
Accounts
Refresh
Stake2
Accounts
Request
Delete
Account2
Accounts
Unmark
Delete
Account2
Accounts
Update
Account2
Accounts
Update
Account2
Args
Create
Storage
Response
Custom
Error
List
Objects
Response
Shadow
Batch
Upload
Response
Shadow
Drive
Response
Shadow
File
Shadow
Upload
Response
Storage
Account
Info
Generated using
TypeDoc