Function: uploadBytes()
uploadBytes(
client,contents,identifier,signer,options?):Promise<UploadResult>
Defined in: @meddleware/walrus-storage-client/src/upload.ts:66
Upload raw bytes as a Walrus quilt (file bundle). Use this from Node.js with a keypair signer; use createUploadFlow in the browser for wallet-popup-safe signing.
Parameters
client
ClientWithExtensions
contents
Uint8Array
identifier
string
signer
Signer
options?
UploadOptions = {}
Returns
Promise<UploadResult>
Throws
if the Walrus write transaction fails or the signer rejects.