v1/keys
Add new control keys for an MSA Id
Changed onpost/v1/keys/add
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"msaOwnerAddress": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
"msaOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
"newKeyOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
"payload": {
"msaId": "3",
"expiration": 1,
"newPublicKey": "0x0ed2f8c714efcac51ca2325cfe95637e5e0b898ae397aa365978b7348a717d0b"
}
}Response
Found public keys
Example response
{
"state": "waiting"
}Changes
- ○
api operation id
KeysControllerV1_addKeyremoved and replaced withKeysControllerV1_addKey_v1
- ○
- ○
added the optional property
to the response with the status
- ○