example) watchAsset
Request
curl -X "POST" "https://api.kaikas.io/api/v1/k/prepare" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"type": "watch_asset",
"bapp": {
"name": "test app",
"callback": {
"success": "https://www.google.com/search?q=success",
"fail": "https://www.google.com/search?q=fail"
}
},
"watch_asset":{
"address":"0x4fa62f1f404188ce860c8f0041d6ac3765a72e67",
"symbol":"KSD",
"decimals":18,
"name":"Kokoa Stable Dollar"
}
}'
Response
{
"chain_id":"8217",
"request_key":"4a4f2d97-6ef7-44e0-8c06-2de9ef5cca6e",
"status":"prepared",
"expiration_time":1647663586
}
Last updated