example) Sign

Request

curl -X "POST" "https://api.kaikas.io/api/v1/k/prepare" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "type": "sign",
  "bapp": {
    "name": "test app",
    "callback": {
      "success": "https://www.google.com/search?q=success",
      "fail": "https://www.google.com/search?q=fail"
    }
  },
  "sign": {
    "message": "hello world"
  }
}'

Response

{
  "chain_id":"8217",
  "request_key":"4a4f2d97-6ef7-44e0-8c06-2de9ef5cca6e",
  "status":"prepared",
  "expiration_time":1647663586
}

Last updated