registry_reveal · Open a seal
may change things: you confirm before it runsOpen a seal you filed: its id, the subject, the direction and the salt. The fields must hash to the commitment. The price at the moment of the seal is then read back from the chain's feed and the filing is graded like any other.
Input schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "The seal's id, s-..."
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 12,
"description": "A ticker: letters and digits, up to seven, like NVDA or BRK.B."
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
],
"description": "Which way the print moves by the horizon."
},
"salt": {
"type": "string",
"minLength": 8,
"maxLength": 128
},
"secret": {
"type": "string",
"description": "The secret from registry_register, if it is not already on the request as Authorization: Bearer. Never stored, never echoed.",
"pattern": "^ag_[0-9a-f]{48}$"
}
},
"required": [
"id",
"subject",
"direction",
"salt"
],
"additionalProperties": false
}