v1/keys

Add new control keys for an MSA Id

Changed on
post/v1/keys/add

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

msaOwnerAddressstring required

msaOwnerAddress representing the target of this request

msaOwnerSignaturestring required

msaOwnerSignature is the signature by msa owner

newKeyOwnerSignaturestring required

newKeyOwnerSignature is the signature with new key

Example request

{
  "msaOwnerAddress": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
  "msaOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
  "newKeyOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
  "payload": {
    "msaId": "3",
    "expiration": 1,
    "newPublicKey": "0x0ed2f8c714efcac51ca2325cfe95637e5e0b898ae397aa365978b7348a717d0b"
  }
}

Response

Found public keys

statestring

Job state

referenceIdstring required

Example response

{
  "state": "waiting"
}

Changes