Submit State Channel Snapshot
-
URL:
/state-channels/{address}/snapshot
-
Method:
POST
-
Description: Submits a signed state channel snapshot for a specific address.
-
Request Body:
The request must contain a signedStateChannelSnapshotBinary
object. This is expected as a binary payload in the request body. An example representation of the binary data is not included here, as it depends on your specific serialization format. -
Path Parameters:
{address}
: The address of the state channel for which the snapshot is being submitted.
-
Example Request:
curl -X POST \ http://localhost:9000/state-channels/DAG3gkRSzq1zrJRBDEofsDdEHnssd8mcUuQjG4x8/snapshot \ -H "Content-Type: application/octet-stream" \ --data-binary @snapshot_data.bin
-
Response:
- Status 200:
Indicates that the snapshot was processed successfully.{}
- Status 200: