Skip to content

Commit 6019e21

Browse files
committed
Add signed_message prop to RegisterSingleSignatureMessage in openapi
1 parent cbd65d0 commit 6019e21

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

openapi.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,12 +1068,21 @@ components:
10681068
items:
10691069
type: integer
10701070
format: int64
1071+
signed_message:
1072+
description: |
1073+
Hash of the protocol message that is signed by the signer
1074+
1075+
Optional, allow the aggregator to store this signature for later if it has yet to start to work
1076+
on the message.
1077+
type: string
1078+
format: bytes
10711079
example:
10721080
{
10731081
"entity_type": { "MithrilStakeDistribution": 246 },
10741082
"party_id": "1234567890",
10751083
"signature": "7b2c36322c3130352c3232322c31302c3131302c33312c37312c39372c22766b223a5b3136342c2c31393137352c313834",
1076-
"indexes": [25, 35]
1084+
"indexes": [25, 35],
1085+
"signed_message": "07ed7c9e128744c1a4797b7eb34c54823cc7a21fc95c19876122ab4bb0fe796d6bba2bc"
10771086
}
10781087

10791088
ProtocolMessageParts:

0 commit comments

Comments
 (0)