mirror of
https://github.com/logos-storage/logos-storage-js.git
synced 2026-01-03 05:53:11 +00:00
Fix readme
This commit is contained in:
parent
d75ef63b42
commit
6c9fec15e5
19
README.md
19
README.md
@ -148,6 +148,25 @@ const response = await marketplace.createAvailability({
|
||||
});
|
||||
```
|
||||
|
||||
#### updateAvailability
|
||||
|
||||
Updates availability.
|
||||
|
||||
- input ([CodexUpdateAvailabilityInput](./src/marketplace/types.ts#L171), required)
|
||||
- returns Promise<"">
|
||||
|
||||
Example:
|
||||
|
||||
```js
|
||||
const response = await marketplace.updateAvailability({
|
||||
id: "0x.....................",
|
||||
maxCollateral: 1,
|
||||
totalSize: 3000,
|
||||
minPrice: 100,
|
||||
duration: 100,
|
||||
});
|
||||
```
|
||||
|
||||
#### reservations
|
||||
|
||||
Return list of reservations for ongoing Storage Requests that the node hosts.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user