curl -X "POST" "https://api.kaiawallet.io/api/v1/k/prepare" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"type": "execute_contract",
"bapp": {
"name": "test app",
"callback": {
"success": "https://www.google.com/search?q=success",
"fail": "https://www.google.com/search?q=fail"
}
},
"transaction": {
"abi": "{\\n \\"constant\\": false,\\n \\"inputs\\": [\\n {\\n \\"name\\": \\"_to\\",\\n \\"type\\": \\"address\\"\\n },\\n {\\n \\"name\\": \\"_value\\",\\n \\"type\\": \\"uint256\\"\\n }\\n ],\\n \\"name\\": \\"transfer\\",\\n \\"outputs\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"bool\\"\\n }\\n ],\\n \\"payable\\": false,\\n \\"stateMutability\\": \\"nonpayable\\",\\n \\"type\\": \\"function\\"\\n}",
"value": "0",
"to": "0x5c74070fdea071359b86082bd9f9b3deaafbe32b",
"params": "[\\"0x0000000000000000000000000000000000000000\\", \\"0\\"]"
}
}'