Verify event

After the event was emitted, the next step is to receive proof of the event. Signer is responsible to create a signature as proof of the event.

Create POST /sign-event request to the Signer.

For our example, the request body would be:

{
  "chainId": 1,
  "txHash": "0x9f89aae86d1b69cf63065bfc9f30478b6dc613b4655a857bc115a1275604b88c",
  "abi": {
    "anonymous": false,
    "inputs": [
        {
            "indexed": false,
            "name": "message",
            "type": "string"
        }
    ],
    "name": "MyMessage",
    "type": "event"
  }
}

As a result of the request, we receive the following object:

The signature is created, therefore we can move to the last step.

Last updated