About
Provides documentation of API endpoints for storing and deleting private keys, as well as creating partial signatures.
This API interfaces asynchronously with Cryptosat's satellites and ground testbeds known as "FlatSats". It enables queuing commands that are later sent within the operational time slots throughout the 24h time period.
Tutorial
The following is an example of how to store, sign with and delete a private key.
Authentication
Make sure you provide an API in the header.
Store a Private Key
Send the following body to:
POST {{api-url}}/frost/private_key
with the following body:
You should get the following similar response:
Note that the status_name
is PENDING
. This is because the command has not yet been sent to the satellite and is queued for the next visibility window indicated by response_eta
.
You can check the status by using the request_uuid
obtained from the store command to check if it has been sent off:
GET {{api-url}}/queue/request?=request_id=c6f9c441-446d-4d07-bc11-1b5d868bb942
You should get the following response:
When the command has changed to SENT
, it can no longer be deleted. Once it is READY, the response_payload
will be populated and the command can be archived.
The other commands function in a smilar way.
Last updated