:
curl -sX POST https://api.blockcypher.com/v1/eth/main/addrs?token=YOURTOKEN
creating eth address & transaction
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.blockcypher.com/v1/eth/main/addrs?token=YOURTOKEN'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); $result = curl_exec($ch); if (curl_errno($ch)) { echo 'Error:' . curl_error($ch); } echo $result; curl_close ($ch);
Обсуждают сегодня