Preparing search index...
The search index is not available
API References
API References
js
BundlrStorageDriver
Class BundlrStorageDriver
Hierarchy
BundlrStorageDriver
Implements
StorageDriver
Index
Properties
_metaplex
_bundlr
_options
Constructors
constructor
Methods
get
Upload
Price
get
Upload
Price
For
Files
upload
upload
All
get
Balance
fund
withdraw
All
withdraw
bundlr
init
Bundlr
init
Node
Bundlr
init
Web
Bundlr
Properties
Protected
_metaplex
_metaplex
:
Metaplex
Protected
_bundlr
_bundlr
:
null
|
default
|
default
= null
Protected
_options
_options
:
BundlrOptions
Constructors
constructor
new
Bundlr
Storage
Driver
(
metaplex
:
Metaplex
, options
?:
BundlrOptions
)
:
BundlrStorageDriver
Parameters
metaplex:
Metaplex
options:
BundlrOptions
= {}
Returns
BundlrStorageDriver
Methods
get
Upload
Price
get
Upload
Price
(
bytes
:
number
)
:
Promise
<
Amount
<
Currency
>
>
Parameters
bytes:
number
Returns
Promise
<
Amount
<
Currency
>
>
get
Upload
Price
For
Files
get
Upload
Price
For
Files
(
files
:
MetaplexFile
[]
)
:
Promise
<
Amount
<
Currency
>
>
Parameters
files:
MetaplexFile
[]
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
[]
>
get
Balance
get
Balance
(
)
:
Promise
<
Amount
<
Currency
>
>
Returns
Promise
<
Amount
<
Currency
>
>
fund
fund
(
amount
:
Amount
<
Currency
>
, skipBalanceCheck
?:
boolean
)
:
Promise
<
void
>
Parameters
amount:
Amount
<
Currency
>
skipBalanceCheck:
boolean
= false
Returns
Promise
<
void
>
withdraw
All
withdraw
All
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
withdraw
withdraw
(
amount
:
Amount
<
Currency
>
)
:
Promise
<
void
>
Parameters
amount:
Amount
<
Currency
>
Returns
Promise
<
void
>
bundlr
bundlr
(
)
:
Promise
<
default
|
default
>
Returns
Promise
<
default
|
default
>
init
Bundlr
init
Bundlr
(
)
:
Promise
<
default
|
default
>
Returns
Promise
<
default
|
default
>
init
Node
Bundlr
init
Node
Bundlr
(
address
:
string
, currency
:
string
, keypair
:
KeypairSigner
, options
:
any
)
:
Promise
<
default
>
Parameters
address:
string
currency:
string
keypair:
KeypairSigner
options:
any
Returns
Promise
<
default
>
init
Web
Bundlr
init
Web
Bundlr
(
address
:
string
, currency
:
string
, identity
:
IdentitySigner
, options
:
any
)
:
Promise
<
default
>
Parameters
address:
string
currency:
string
identity:
IdentitySigner
options:
any
Returns
Promise
<
default
>
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
Bundlr
Storage
Driver
_metaplex
_bundlr
_options
constructor
get
Upload
Price
get
Upload
Price
For
Files
upload
upload
All
get
Balance
fund
withdraw
All
withdraw
bundlr
init
Bundlr
init
Node
Bundlr
init
Web
Bundlr
Generated using
TypeDoc