Preparing search index...
The search index is not available
API References
API References
js-plugin-nft-storage
NftStorageDriver
Class NftStorageDriver
Hierarchy
NftStorageDriver
Implements
StorageDriver
Index
Properties
metaplex
batch
Size
use
Gateway
Urls
identity?
token?
endpoint?
gateway
Host?
on
Stored
Chunk?
Constructors
constructor
Methods
on
Progress
get
Upload
Price
upload
upload
All
client
Properties
Readonly
metaplex
metaplex
:
Metaplex
batch
Size
batch
Size
:
number
use
Gateway
Urls
use
Gateway
Urls
:
boolean
Optional
Readonly
identity
identity
?:
Signer
Optional
Readonly
token
token
?:
string
Optional
Readonly
endpoint
endpoint
?:
URL
Optional
Readonly
gateway
Host
gateway
Host
?:
string
Optional
on
Stored
Chunk
on
Stored
Chunk
?:
(
(
size
:
number
)
=>
void
)
Type declaration
(
size
:
number
)
:
void
Parameters
size:
number
Returns
void
Constructors
constructor
new
Nft
Storage
Driver
(
metaplex
:
Metaplex
, options
?:
NftStorageDriverOptions
)
:
NftStorageDriver
Parameters
metaplex:
Metaplex
options:
NftStorageDriverOptions
= {}
Returns
NftStorageDriver
Methods
on
Progress
on
Progress
(
callback
:
(
(
size
:
number
)
=>
void
)
)
:
NftStorageDriver
Parameters
callback:
(
(
size
:
number
)
=>
void
)
(
size
:
number
)
:
void
Parameters
size:
number
Returns
void
Returns
NftStorageDriver
get
Upload
Price
get
Upload
Price
(
)
:
Promise
<
Amount
<
Currency
>
>
Returns
Promise
<
Amount
<
Currency
>
>
upload
upload
(
file
:
MetaplexFile
)
:
Promise
<
string
>
Parameters
file:
MetaplexFile
Returns
Promise
<
string
>
upload
All
upload
All
(
files
:
MetaplexFile
[]
)
:
Promise
<
string
[]
>
Parameters
files:
MetaplexFile
[]
Returns
Promise
<
string
[]
>
client
client
(
)
:
Promise
<
NFTStorage
|
NFTStorageMetaplexor
>
Returns
Promise
<
NFTStorage
|
NFTStorageMetaplexor
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
API
References
js-
plugin-
aws -
v0.19.1
js-
plugin-
nft-
storage -
v0.19.1
js -
v0.19.1
Nft
Storage
Driver
metaplex
batch
Size
use
Gateway
Urls
constructor
on
Progress
get
Upload
Price
upload
upload
All
client
identity?
token?
endpoint?
gateway
Host?
on
Stored
Chunk?
Generated using
TypeDoc