Constructs a new BundlrClient instance with the specified options.
Optional
options: BundlrOptionsThe options to configure the BundlrClient.
Protected
_honeycombDownloads a HoneycombFile from the provided URI.
The URI of the file to download.
The downloaded HoneycombFile.
Funds the Bundlr account with the specified amount of tokens.
The amount to fund the Bundlr account with.
Optional
skipBalanceCheck: booleanWhether to skip the balance check and always fund the account.
A Promise resolving to void.
Retrieves the upload price for a HoneycombFile.
The HoneycombFile for which to calculate the upload price.
A Promise resolving to the upload price in the form of an Amount.
Retrieves the upload price for an array of HoneycombFiles.
An array of HoneycombFiles to calculate the upload price for.
A Promise resolving to the upload price in the form of an Amount.
Uploads a HoneycombFile to the Bundlr storage.
The HoneycombFile to upload.
A Promise resolving to the URI of the uploaded file.
Uploads an array of HoneycombFiles to the Bundlr storage.
An array of HoneycombFiles to upload.
A Promise resolving to an array of URIs for the uploaded files.
Generated using TypeDoc
Represents the BundlrClient for handling file uploads and downloads using the Bundlr network.