Download OpenAPI specification:Download
API endpoints for interacting with the Swarm network, supporting file operations, messaging, and node management
| swarm-postage-batch-id required | object (SwarmPostageBatchId) ID of Postage Batch that is used to upload data with |
| swarm-tag | object (SwarmTagParameter) Associate upload with an existing Tag UID |
| swarm-pin | object (SwarmPinParameter) Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-deferred-upload | object (SwarmDeferredUpload) Indicates whether the uploaded data should be sent to the network immediately or deferred. Default: deferred (true) |
| swarm-act-history-address | object (SwarmActHistoryAddress) ACT history reference address |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| grantees | Array of strings (PublicKey) [ items^[A-Fa-f0-9]{66}$ ] |
{- "grantees": [
- "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
]
}{- "ref": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2",
- "historyref": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2"
}| address required | string (SwarmEncryptedReference) ^[A-Fa-f0-9]{128}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2 Grantee list reference |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
[- "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
]Add or remove grantees from an existing grantee list
| address required | string (SwarmEncryptedReference) ^[A-Fa-f0-9]{128}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2 Grantee list reference |
| swarm-act-history-address required | object (SwarmActHistoryAddress) ACT history reference address |
| swarm-postage-batch-id required | object (SwarmPostageBatchId) ID of Postage Batch that is used to upload data with |
| swarm-tag | object (SwarmTagParameter) Associate upload with an existing Tag UID |
| swarm-pin | object (SwarmPinParameter) Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-deferred-upload | object (SwarmDeferredUpload) Indicates whether the uploaded data should be sent to the network immediately or deferred. Default: deferred (true) |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| add | Array of strings (PublicKey) [ items^[A-Fa-f0-9]{66}$ ] List of grantees to add |
| revoke | Array of strings (PublicKey) [ items^[A-Fa-f0-9]{66}$ ] List of grantees to revoke future access from |
{- "add": [
- "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
], - "revoke": [
- "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
]
}{- "ref": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2",
- "historyref": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f2d2810619d29b5dbefd5d74abce25d58b81b251baddb9c3871cf0d6967deaae2"
}| swarm-postage-batch-id required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of Postage Batch that is used to upload data with |
| swarm-tag | integer (Uid) Associate upload with an existing Tag UID |
| swarm-pin | boolean Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-deferred-upload | boolean Default: true Indicates whether the uploaded data should be sent to the network immediately or deferred. Default: deferred (true) |
| swarm-encrypt | boolean Indicates whether the file should be encrypted |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-act | boolean Default: false Determines if the uploaded data should be treated as ACT content |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Swarm address reference to content |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
| swarm-lookahead-buffer-size | integer Override the lookahead buffer size used during retrieval, in bytes. When unset the node picks 8x or 16x the io.Copy default buffer (32 kB) depending on file size. |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}Identical to GET on the same reference except that no content is sent, so Range and conditional request headers are honored the same way.
| address required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of chunk |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}| swarm-tag | integer (Uid) Associate upload with an existing Tag UID |
| swarm-postage-batch-id | object (SwarmPostageBatchId) ID of Postage Batch that is used to upload data with |
| swarm-postage-stamp | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Postage stamp for the corresponding chunk in the request.
|
Chunk binary data containing at least 8 bytes.
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}Establishes a WebSocket connection for streaming chunks. Each uploaded chunk receives a binary acknowledgment (0). Chunks are sent as binary messages. When a tag is specified, chunks are stored locally and uploaded to the network after the stream closes. Without a tag, chunks are directly uploaded to the network as they arrive.
| swarm-tag | integer (Uid) Associate upload with an existing Tag UID (use when WebSocket client cannot set custom headers) |
| swarm-tag | integer (Uid) Associate upload with an existing Tag UID |
| swarm-postage-batch-id | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of Postage Batch that is used to upload data with. Optional when chunks include pre-signed postage stamps. |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Swarm address of chunk |
| swarm-cache | object (SwarmCache) Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}| address required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of chunk |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}Upload single files or collections of files. For a single file, Content-Type is optional: when present it is stored as metadata as-is; when absent the server infers a type from the start of the body. To upload a collection, send a multipart request with files in the form data with appropriate headers. Tar files can be uploaded with the swarm-collection header to extract and upload the directory structure. Without the swarm-collection header, requests are treated as single file uploads. Multipart requests are always treated as collections; use the swarm-index-document header to specify a single file to serve.
| name | string (FileName) Filename when uploading single file |
| swarm-postage-batch-id required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of Postage Batch that is used to upload data with |
| swarm-tag | integer (Uid) Associate upload with an existing Tag UID |
| swarm-pin | boolean Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-encrypt | boolean Indicates whether the file should be encrypted |
| Content-Type | string Single file: trimmed Content-Type is stored as-is or, if omitted or empty, inferred from the first bytes without validating against the body; tar ( |
| swarm-collection | boolean Upload file/files as a collection |
| swarm-index-document | string Example: index.html Default file to serve when a directory path is accessed |
| swarm-error-document | string Example: error.html Custom error document to return when a path is not found in the collection |
| swarm-deferred-upload | boolean Default: true Indicates whether the uploaded data should be sent to the network immediately or deferred. Default: deferred (true) |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-act | boolean Default: false Determines if the uploaded data should be treated as ACT content |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
| file | Array of strings <binary> [ items <binary > ] |
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Swarm address of content |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
| swarm-lookahead-buffer-size | integer Override the lookahead buffer size used during retrieval, in bytes. When unset the node picks 8x or 16x the io.Copy default buffer (32 kB) depending on file size. |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}Identical to GET on the same reference except that no content is sent, so Range and conditional request headers are honored the same way.
| address required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of chunk |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
| swarm-act-timestamp | integer <int64> ACT history Unix timestamp |
| swarm-act-publisher | string (PublicKey) ^[A-Fa-f0-9]{66}$ Example: 02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4 ACT content publisher's public key |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Swarm address of content |
| path required | string Path to the file in the collection. |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
| swarm-redundancy-level | integer Enum: 0 1 2 3 4 Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-lookahead-buffer-size | integer Override the lookahead buffer size used during retrieval, in bytes. When unset the node picks 8x or 16x the io.Copy default buffer (32 kB) depending on file size. |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}required | SwarmAddress (string) or SwarmEncryptedReference (string) (SwarmOnlyReference) Swarm reference of the root hash |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
{- "message": "string",
- "code": 0
}required | SwarmAddress (string) or SwarmEncryptedReference (string) (SwarmOnlyReference) Swarm reference of the root hash |
"36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"Returns a stream of newline-delimited JSON objects (NDJSON), one per pinned reference checked.
The response uses chunked transfer encoding; clients should parse each line as an independent
PinIntegrityResponse object rather than buffering the body into a single JSON value.
SwarmAddress (string) or SwarmEncryptedReference (string) (SwarmOnlyReference) Optional reference to check; if not provided, all pinned references are checked |
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "total": 0,
- "missing": 0,
- "invalid": 0
}| topic required | string (PssTopic) Topic name |
| targets required | string (PssTargets) ^[0-9a-fA-F]{1,6}(,[0-9a-fA-F]{1,6})*$ Target message address prefix. If multiple targets are specified, only one would be matched. |
| recipient | string (PssRecipient) Recipient publickey |
| swarm-postage-batch-id required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of Postage Batch that is used to upload data with |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}| address required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Single Owner Chunk address (which may have multiple payloads) |
| swarm-soc-fields | string Same as the swarm-soc-fields header, for clients that cannot set request headers (e.g. browser WebSocket). Takes precedence over the header when both are given. |
| swarm-cache-wrapped-chunk | boolean Same as the swarm-cache-wrapped-chunk header, for clients that cannot set request headers (e.g. browser WebSocket). Takes precedence over the header when both are given. |
| swarm-soc-fields | string Default: payload Comma separated list of Single Owner Chunk fields to be serialized and channeled on every incoming GSOC message, in the given order. Allowed values are: address, recoveredPubKey, identifier, signature, wrappedAddress, span, payload. When omitted it defaults to "payload". In order to have random access on the response bytes define payload as the last field in the list since it has variable length. |
| swarm-cache-wrapped-chunk | boolean Indicates whether the wrapped chunk of every incoming GSOC message should be cached locally so that it can be resolved through the bytes endpoint (useful when the single owner chunk wraps a root chunk larger than 4KB). |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}| owner required | string (EthereumAddress) ^[A-Fa-f0-9]{40}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906 Ethereum address of the chunk owner |
| id required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Unique identifier for the chunk |
| sig required | string (HexString) ^([A-Fa-f0-9]+)$ Example: sig=cf880b8eeac5093fa27b0825906c600685 Signature |
| swarm-postage-batch-id | object (SwarmPostageBatchId) ID of the postage batch to use. Either this or |
| swarm-postage-stamp | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Postage stamp for the corresponding chunk in the request.
|
| swarm-tag | integer (Uid) Associate upload with an existing Tag UID |
| swarm-pin | boolean Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-deferred-upload | boolean Default: true Indicates whether the uploaded data should be sent to the network immediately or deferred. Default: deferred (true) |
The SOC binary data, composed of the span (8 bytes) and up to 4KB of payload.
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}| owner required | string (EthereumAddress) ^[A-Fa-f0-9]{40}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906 Ethereum address of the Owner of the SOC |
| id required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Unique identifier for the chunk data |
| swarm-only-root-chunk | boolean Returns only the root chunk of the content |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}| owner required | string (EthereumAddress) ^[A-Fa-f0-9]{40}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906 Ethereum address of the feed owner |
| topic required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Topic identifier for the feed |
| type | string (FeedType) ^(sequence|epoch)$ Feed indexing scheme (default: sequence) |
| swarm-postage-batch-id required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of Postage Batch that is used to upload data with |
| swarm-pin | boolean Indicates whether the uploaded data should also be locally pinned on this node |
| swarm-act | boolean Default: false Determines if the uploaded data should be treated as ACT content |
| swarm-act-history-address | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ACT history reference address |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Redundancy level for the feed manifest upload pipeline and ACT encryption |
{- "reference": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f"
}| owner required | string (EthereumAddress) ^[A-Fa-f0-9]{40}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906 Ethereum address of the feed owner |
| topic required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 Topic identifier for the feed |
| at | integer Timestamp of the update (default: now) |
| after | integer Start index (default: 0) |
| type | string (FeedType) ^(sequence|epoch)$ Feed indexing scheme (default: sequence) |
| swarm-only-root-chunk | boolean Returns only the root chunk of the content |
| swarm-cache | boolean Default: true Indicates whether downloaded data should be cached on the node. Default: cached (true) |
| swarm-redundancy-strategy | integer Enum: 0 1 2 3 Specify the retrieval strategy for redundant data. Values represent: NONE (0), DATA (1), PROX (2), RACE (3). NONE: no prefetching. DATA: prefetch only data chunks. PROX: prefetch chunks near this node. RACE: prefetch all chunks and use the first n to arrive. Multiple strategies can be cascaded if fallback mode is enabled. Default: NONE > DATA > PROX > RACE |
| swarm-redundancy-fallback-mode | boolean Specify if the retrieve strategies (chunk prefetching on redundant data) are used in a fallback cascade. The default is true. |
| swarm-chunk-retrieval-timeout | string (Duration) Example: 5.0018ms Specify the timeout for chunk retrieval. The default is 30 seconds. |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Root hash of content (can be of any type: collection, file, chunk) |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
{- "isRetrievable": true
}required | SwarmAddress (string) or SwarmEncryptedReference (string) or DomainName (string) (SwarmReference) Re-uploads content for specified root hash (can be of any type: collection, file, chunk, etc.) |
| swarm-postage-batch-id required | object (SwarmPostageBatchId) Postage batch to use for re-upload. The chunks are re-stamped with this batch. |
| swarm-redundancy-level | object (SwarmRedundancyLevelParameter) Add redundancy to the data being uploaded so that downloaders can download it with better UX. 0 value is default and does not add any redundancy to the file. |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}{- "overlay": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "underlay": [
- "/ip4/127.0.0.1/tcp/1634/p2p/16Uiu2HAmTm17toLDaPYzRyjKn27iCB76yjKnJ5DjQXneFmifFvaX"
], - "ethereum": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chain_address": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "publicKey": "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4",
- "pssPublicKey": "02ab7473879005929d10ce7d4f626412dad9fe56b0a6622038931d26bd79abf0a4"
}{- "baseAddr": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "population": 0,
- "connected": 0,
- "timestamp": "string",
- "nnLowWatermark": 0,
- "depth": 0,
- "reachability": "Unknown",
- "networkAvailability": "Unknown",
- "bins": {
- "property1": {
- "population": 0,
- "connected": 0,
- "disconnectedPeers": [
- {
- "address": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "metrics": {
- "lastSeenTimestamp": 0,
- "sessionConnectionRetry": 0,
- "connectionTotalDuration": 0,
- "sessionConnectionDuration": 0,
- "sessionConnectionDirection": "string",
- "latencyEWMA": 0,
- "reachability": "string",
- "healthy": true
}
}
], - "connectedPeers": [
- {
- "address": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "metrics": {
- "lastSeenTimestamp": 0,
- "sessionConnectionRetry": 0,
- "connectionTotalDuration": 0,
- "sessionConnectionDuration": 0,
- "sessionConnectionDirection": "string",
- "latencyEWMA": 0,
- "reachability": "string",
- "healthy": true
}
}
]
}, - "property2": {
- "population": 0,
- "connected": 0,
- "disconnectedPeers": [
- {
- "address": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "metrics": {
- "lastSeenTimestamp": 0,
- "sessionConnectionRetry": 0,
- "connectionTotalDuration": 0,
- "sessionConnectionDuration": 0,
- "sessionConnectionDirection": "string",
- "latencyEWMA": 0,
- "reachability": "string",
- "healthy": true
}
}
], - "connectedPeers": [
- {
- "address": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "metrics": {
- "lastSeenTimestamp": 0,
- "sessionConnectionRetry": 0,
- "connectionTotalDuration": 0,
- "sessionConnectionDuration": 0,
- "sessionConnectionDirection": "string",
- "latencyEWMA": 0,
- "reachability": "string",
- "healthy": true
}
}
]
}
}
}{- "Upload": {
- "TotalUploaded": 0,
- "TotalSynced": 0,
- "PendingUpload": 0
}, - "Pinning": {
- "TotalCollections": 0,
- "TotalChunks": 0
}, - "Cache": {
- "Size": 0,
- "Capacity": 0
}, - "Reserve": {
- "SizeWithinRadius": 0,
- "TotalSize": 0,
- "Capacity": 0,
- "LastBinIDs": [
- 0
], - "Epoch": 0
}, - "ChunkStore": {
- "TotalChunks": 0,
- "SharedSlots": 0,
- "ReferenceCount": 0
}
}{- "balances": [
- {
- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "balance": "1000000000000000000",
- "thresholdreceived": "1000000000000000000",
- "thresholdgiven": "1000000000000000000"
}
]
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
{- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "balance": "1000000000000000000",
- "thresholdreceived": "1000000000000000000",
- "thresholdgiven": "1000000000000000000"
}{- "balances": [
- {
- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "balance": "1000000000000000000",
- "thresholdreceived": "1000000000000000000",
- "thresholdgiven": "1000000000000000000"
}
]
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
{- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "balance": "1000000000000000000",
- "thresholdreceived": "1000000000000000000",
- "thresholdgiven": "1000000000000000000"
}{- "peerData": {
- "property1": {
- "balance": "1000000000000000000",
- "consumedBalance": "1000000000000000000",
- "thresholdReceived": "1000000000000000000",
- "thresholdGiven": "1000000000000000000",
- "currentThresholdReceived": "1000000000000000000",
- "currentThresholdGiven": "1000000000000000000",
- "surplusBalance": "1000000000000000000",
- "reservedBalance": "1000000000000000000",
- "shadowReservedBalance": "1000000000000000000",
- "ghostBalance": "1000000000000000000"
}, - "property2": {
- "balance": "1000000000000000000",
- "consumedBalance": "1000000000000000000",
- "thresholdReceived": "1000000000000000000",
- "thresholdGiven": "1000000000000000000",
- "currentThresholdReceived": "1000000000000000000",
- "currentThresholdGiven": "1000000000000000000",
- "surplusBalance": "1000000000000000000",
- "reservedBalance": "1000000000000000000",
- "shadowReservedBalance": "1000000000000000000",
- "ghostBalance": "1000000000000000000"
}
}
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
{- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "lastCashedCheque": {
- "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "payout": "1000000000000000000"
}, - "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a",
- "result": {
- "recipient": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "lastPayout": "1000000000000000000",
- "bounced": true
}, - "uncashedAmount": "1000000000000000000"
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
{- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "lastreceived": {
- "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "payout": "1000000000000000000"
}, - "lastsent": {
- "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "payout": "1000000000000000000"
}
}{- "lastcheques": [
- {
- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "lastreceived": {
- "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "payout": "1000000000000000000"
}, - "lastsent": {
- "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "payout": "1000000000000000000"
}
}
]
}| amount required | integer Amount of tokens to deposit |
| gas-price | integer (GasPrice) Gas price for transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}| amount required | integer Amount of tokens to withdraw |
| gas-price | integer (GasPrice) Gas price for transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}| address required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of the chunk to stamp |
| swarm-postage-batch-id required | object (SwarmPostageBatchId) ID of Postage Batch that is used to upload data with |
{- "issuer": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "index": "1a2b3c4d5e6f7a8b",
- "timestamp": "1a2b3c4d5e6f7a8b",
- "signature": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e"
}| peer required | string (SwarmAddress) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of peer |
{- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "received": "1000000000000000000",
- "sent": "1000000000000000000"
}{- "totalReceived": "1000000000000000000",
- "totalSent": "1000000000000000000",
- "settlements": [
- {
- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "received": "1000000000000000000",
- "sent": "1000000000000000000"
}
]
}{- "totalReceived": "1000000000000000000",
- "totalSent": "1000000000000000000",
- "settlements": [
- {
- "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "received": "1000000000000000000",
- "sent": "1000000000000000000"
}
]
}{- "pendingTransactions": [
- {
- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a",
- "to": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "nonce": 0,
- "gasPrice": "1000000000000000000",
- "gasLimit": 0,
- "gasTipCap": "1000000000000000000",
- "gasTipBoost": 0,
- "gasFeeCap": "1000000000000000000",
- "data": "string",
- "created": "2020-06-11T11:26:42.6969797+02:00",
- "description": "string",
- "value": "1000000000000000000"
}
]
}| hash required | string (TransactionHash) ^0x[A-Fa-f0-9]{64}$ Example: 0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a Hash of the transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a",
- "to": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "nonce": 0,
- "gasPrice": "1000000000000000000",
- "gasLimit": 0,
- "gasTipCap": "1000000000000000000",
- "gasTipBoost": 0,
- "gasFeeCap": "1000000000000000000",
- "data": "string",
- "created": "2020-06-11T11:26:42.6969797+02:00",
- "description": "string",
- "value": "1000000000000000000"
}| hash required | string (TransactionHash) ^0x[A-Fa-f0-9]{64}$ Example: 0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a Hash of the transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}| hash required | string (TransactionHash) ^0x[A-Fa-f0-9]{64}$ Example: 0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a Hash of the transaction |
| gas-price | integer (GasPrice) Gas price for transaction |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}{- "stamps": [
- {
- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "utilization": 0,
- "utilizationRatio": 1,
- "usable": true,
- "label": "string",
- "depth": 0,
- "amount": "1000000000000000000",
- "bucketDepth": 0,
- "blockNumber": 0,
- "immutableFlag": true,
- "exists": true,
- "batchTTL": 0
}
]
}| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of the stamp |
{- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "utilization": 0,
- "utilizationRatio": 1,
- "usable": true,
- "label": "string",
- "depth": 0,
- "amount": "1000000000000000000",
- "bucketDepth": 0,
- "blockNumber": 0,
- "immutableFlag": true,
- "exists": true,
- "batchTTL": 0
}| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of the stamp |
| label required | string New label for the postage batch |
{- "label": "string"
}{- "message": "string",
- "code": 0
}| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Swarm address of the stamp |
{- "depth": 0,
- "bucketDepth": 0,
- "bucketUpperBound": 0,
- "buckets": [
- {
- "bucketID": 0,
- "collisions": 0
}
]
}Be aware, this endpoint creates an on-chain transaction and transfers BZZ from the node's Ethereum account, directly affecting the wallet balance!
| amount required | string (BigInt) Example: 1000000000000000000 Amount of BZZ added that the postage batch will have. |
| depth required | integer Batch depth (logarithm) specifying the maximum number of chunks this stamp can cover. Must be greater than the default bucket depth (16) |
| label | string An optional label for this batch |
| immutable | boolean |
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}Be aware, this endpoint creates an on-chain transaction and transfers BZZ from the node's Ethereum account, directly affecting the wallet balance!
| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Batch ID to top up |
| amount required | integer Amount of BZZ per chunk to top up to an existing postage batch. |
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}Be aware, this endpoint creates an on-chain transaction and transfers BZZ from the node's Ethereum account, directly affecting the wallet balance!
| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f Batch ID to dilute |
| depth required | integer The new batch depth, which must be greater than the current depth |
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}{- "batches": [
- {
- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "value": "1000000000000000000",
- "start": 0,
- "owner": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "depth": 0,
- "bucketDepth": 0,
- "immutable": true,
- "batchTTL": 0
}
]
}| batch_id required | string (BatchID) ^[A-Fa-f0-9]{64}$ Example: 36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f ID of the postage batch |
{- "batchID": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "value": "1000000000000000000",
- "start": 0,
- "owner": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "depth": 0,
- "bucketDepth": 0,
- "immutable": true,
- "batchTTL": 0
}| depth required | integer >= 0 Default: 0 The storage depth. |
| anchor1 required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 The first anchor. |
| anchor2 required | string (HexString) ^([A-Fa-f0-9]+)$ Example: cf880b8eeac5093fa27b0825906c600685 The second anchor. |
{- "durationSeconds": 30.5,
- "hash": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "proofs": {
- "proof1": {
- "chunkSpan": 0,
- "postageProof": {
- "index": "string",
- "postageId": "string",
- "signature": "string",
- "timeStamp": "string"
}, - "proofSegments": [
- "string"
], - "proofSegments2": [
- "string"
], - "proofSegments3": [
- "string"
], - "proveSegment": "string",
- "proveSegment2": "string",
- "socProof": [
- {
- "chunkAddr": "string",
- "identifier": "string",
- "signature": "string",
- "signer": "string"
}
]
}, - "proof2": {
- "chunkSpan": 0,
- "postageProof": {
- "index": "string",
- "postageId": "string",
- "signature": "string",
- "timeStamp": "string"
}, - "proofSegments": [
- "string"
], - "proofSegments2": [
- "string"
], - "proofSegments3": [
- "string"
], - "proveSegment": "string",
- "proveSegment2": "string",
- "socProof": [
- {
- "chunkAddr": "string",
- "identifier": "string",
- "signature": "string",
- "signer": "string"
}
]
}, - "proofLast": {
- "chunkSpan": 0,
- "postageProof": {
- "index": "string",
- "postageId": "string",
- "signature": "string",
- "timeStamp": "string"
}, - "proofSegments": [
- "string"
], - "proofSegments2": [
- "string"
], - "proofSegments3": [
- "string"
], - "proveSegment": "string",
- "proveSegment2": "string",
- "socProof": [
- {
- "chunkAddr": "string",
- "identifier": "string",
- "signature": "string",
- "signer": "string"
}
]
}
}
}{- "minimumGasFunds": "1000000000000000000",
- "hasSufficientFunds": true,
- "isFrozen": true,
- "isFullySynced": true,
- "isHealthy": true,
- "enabled": true,
- "hasCommittedThisRound": true,
- "hasRevealedThisRound": true,
- "phase": "string",
- "round": 0,
- "lastWonRound": 0,
- "lastPlayedRound": 0,
- "lastFrozenRound": 0,
- "lastSelectedRound": 0,
- "lastSampleDurationSeconds": 0,
- "block": 0,
- "reward": "1000000000000000000",
- "fees": "1000000000000000000"
}Controls whether the node will commit in a new redistribution round. Sampling still runs while disabled so that a later re-enable can commit in the following commit phase. Disabling does not abort an in-flight commit and does not skip reveal or claim for a round that already committed. Re-enabling during a commit phase that was already skipped does not retry that round. After a node restart participation is enabled again.
| enabled required | boolean Whether the node should commit in new redistribution rounds. Sampling still runs while disabled. |
{- "enabled": true
}{- "enabled": true
}{- "bzzBalance": "1000000000000000000",
- "nativeTokenBalance": "1000000000000000000",
- "chainID": 0,
- "chequebookContractAddress": "36b7efd913ca4cf880b8eeac5093fa27b0825906",
- "walletAddress": "36b7efd913ca4cf880b8eeac5093fa27b0825906"
}| coin required | string (WithdrawCoin) Enum: "bzz" "nativetoken" |
| amount required | string (BigInt) Example: amount=1000000000000000000 Numeric string representing an integer that may exceed |
| address required | string (EthereumAddress) ^[A-Fa-f0-9]{40}$ Example: address=36b7efd913ca4cf880b8eeac5093fa27b0825906 |
{- "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}This endpoint withdraws any amount that is possible to withdraw as surplus.
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}Be aware, this endpoint creates an on-chain transaction and transfers BZZ from the node's Ethereum account, directly affecting the wallet balance.
| amount required | string Amount of BZZ added that will be deposited for staking. |
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}This endpoint fetches the total staked amount and the minimum additional deposit from the blockchain. The first deposit is at least 10 BZZ times 2^height. Subsequent deposits are at least 1 PLUR, or more if the price oracle has increased since the last deposit.
{- "stakedAmount": "1000000000000000000",
- "minimumDeposit": "1000000000000000000"
}Be aware, this endpoint can only be called when the contract is paused and undergoing migration to a new contract.
| gas-price | integer (GasPrice) Gas price for transaction |
| gas-limit | integer (GasLimit) [ 0 .. 18446744073709552000 ] Gas limit for transaction |
{- "txHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a"
}{- "tree": {
- "property1": {
- "/": { },
- "+": "warning|one/name[0][]>>824634860360"
}, - "property2": {
- "/": { },
- "+": "warning|one/name[0][]>>824634860360"
}
}, - "loggers": [
- {
- "logger": "string",
- "verbosity": "string",
- "subsystem": "string",
- "id": "string"
}
]
}| exp required | string (LoggerExp) ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[... Example: b25lL25hbWU= Regular expression or a subsystem that matches the logger(s). |
{- "tree": {
- "property1": {
- "/": { },
- "+": "warning|one/name[0][]>>824634860360"
}, - "property2": {
- "/": { },
- "+": "warning|one/name[0][]>>824634860360"
}
}, - "loggers": [
- {
- "logger": "string",
- "verbosity": "string",
- "subsystem": "string",
- "id": "string"
}
]
}| exp required | string (LoggerExp) ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[... Example: b25lL25hbWU= Regular expression or a subsystem that matches the logger(s). |
| verbosity required | string Enum: "none" "error" "warning" "info" "debug" "all" Verbosity level to apply to the matching logger(s). |
{- "code": 0,
- "message": "string",
- "reasons": [
- "string"
]
}{- "overlay": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "proximity": 0,
- "beeMode": "light",
- "reserveSize": 0,
- "reserveSizeWithinRadius": 0,
- "pullsyncRate": 0,
- "storageRadius": 0,
- "connectedPeers": 0,
- "neighborhoodSize": 0,
- "requestFailed": true,
- "batchCommitment": 0,
- "isReachable": true,
- "lastSyncedBlock": 0,
- "committedDepth": 0,
- "isWarmingUp": true
}{- "snapshots": [
- {
- "overlay": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",
- "proximity": 0,
- "beeMode": "light",
- "reserveSize": 0,
- "reserveSizeWithinRadius": 0,
- "pullsyncRate": 0,
- "storageRadius": 0,
- "connectedPeers": 0,
- "neighborhoodSize": 0,
- "requestFailed": true,
- "batchCommitment": 0,
- "isReachable": true,
- "lastSyncedBlock": 0,
- "committedDepth": 0,
- "isWarmingUp": true
}
]
}