Optionalcertificate?: undefinedAn array of confirmations.
These confirmations must be provided in the same order as the nodes in the committee.
For nodes that have not provided a confirmation you can pass null
Certify a blob in a transaction
Create a transaction that certifies a blob
A utility for creating a storage object in a transaction.
Create a transaction that creates a storage object
Address the storage resource should be transferred to
Optionaltransaction?: TransactionDelete a blob in a transaction
Create a transaction that deletes a blob
Address the storage resource should be returned to
Optionaltransaction?: TransactionEncode a blob into slivers for each node
Execute a transaction that certifies a blob
Execute a transaction that creates a storage object
Execute a transaction that deletes a blob
Execute a transaction that extends a blob
Execute a transaction that registers a blob
Optionalowner?: stringAddress the blob should be transferred to
Optionaltransaction?: TransactionExecute a transaction that writes attributes to a blob
If attributes already exists, their previous values will be overwritten
If an attribute is set to null, it will be removed from the blob
Extend a blob in a transaction
Create a transaction that extends a blob
Load a parsed Blob object from chain by its Sui object ID.
The Move type for a Blob object
Get a storage confirmation from a storage node
Get storage confirmations from all active committee nodes for a blob.
Useful for resuming after upload completed but certify crashed — re-fetches
confirmations that can be passed to certifyBlobTransaction().
Gets the blob status from multiple storage nodes and returns the latest status that can be verified.
Register a blob in a transaction
Create a transaction that registers a blob
Address the blob should be transferred to
Optionaltransaction?: TransactionThe staking state for the current version of walrus contract
Calculate the cost of storing a blob for a given a size and number of epochs.
The system state for the current version of walrus contract
Write a blob to all storage nodes
Write attributes to a blob
If attributes already exists, their previous values will be overwritten
If an attribute is set to null, it will be removed from the blob
Create a transaction that writes attributes to a blob
If attributes already exists, their previous values will be overwritten
If an attribute is set to null, it will be removed from the blob
Create a step-by-step blob upload flow with resume support.
Returns an object with individual step methods (encode, register, upload, certify)
for manual control, convenience methods (executeRegister, executeCertify) that handle
signing, and a run() async iterator that executes the full pipeline.
Each step returns a WriteBlobStep result that can be persisted and passed as resume
to recover from crashes.
// Async iterator with checkpoints:
const flow = client.writeBlobFlow({ blob });
for await (const step of flow.run({ signer, epochs: 3, deletable: true })) {
await db.save(fileId, step);
}
// Resume from saved state:
const saved = await db.load(fileId);
const flow = client.writeBlobFlow({ blob, resume: saved });
for await (const step of flow.run({ signer, epochs: 3, deletable: true })) {
await db.save(fileId, step);
}
Writes a blob to to an upload relay
Write encoded blob to a storage node
Write a blob to all storage nodes
Create a step-by-step files upload flow with resume support.
Encodes files into a quilt blob and delegates to writeBlobFlow() internally.
Supports the same resume, step methods, and run() async iterator as writeBlobFlow().
Write metadata to a storage node
Write a sliver to a storage node
Write slivers to a storage node
Read a blob from the storage nodes