File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ The `toString` method uses `toHex`.
200200| ` pssSend ` | ` POST /pss/send/:topic/:target ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postal-Service-for-Swarm/paths/~1pss~1send~1%7Btopic%7D~1%7Btargets%7D/post ) | ❌✅✅ |
201201| ` pssSubscribe ` _ Websocket_ | ` GET /pss/subscribe/:topic ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postal-Service-for-Swarm/paths/~1pss~1subscribe~1%7Btopic%7D/get ) | ❌❌✅ |
202202| ` pssReceive ` | ` GET /pss/subscribe/:topic ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postal-Service-for-Swarm/paths/~1pss~1subscribe~1%7Btopic%7D/get ) | ❌❌✅ |
203- | ` getAllPostageBatch ` | ` GET /stamps ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postage-Stamps/paths/~1stamps/get ) | ❌✅✅ |
203+ | ` getPostageBatches ` | ` GET /stamps ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postage-Stamps/paths/~1stamps/get ) | ❌✅✅ |
204204| ` getGlobalPostageBatches ` | ` GET /batches ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postage-Stamps/paths/~1batches/get ) | ❌✅✅ |
205205| ` getPostageBatch ` | ` GET /stamps/:batchId ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postage-Stamps/paths/~1stamps~1%7Bbatch_id%7D/get ) | ❌✅✅ |
206206| ` getPostageBatchBuckets ` | ` GET /stamps/:batchId/buckets ` [ 🔗] ( https://docs.ethswarm.org/api/#tag/Postage-Stamps/paths/~1stamps~1%7Bbatch_id%7D~1buckets/get ) | ❌✅✅ |
@@ -266,7 +266,7 @@ async function getOrCreatePostageBatch() {
266266 const bee = new Bee (' http://localhost:1633' )
267267 let batchId
268268
269- const batches = await bee .getAllPostageBatch ()
269+ const batches = await bee .getPostageBatches ()
270270 const usable = batches .find (x => x .usable )
271271
272272 if (usable) {
You can’t perform that action at this time.
0 commit comments