Is there any API for ether sent transaction in ethereum without using web3.js

0 votes

I want to do a transaction (sent ether or token) by API, not from web3.js

I have tried etherscan, block cypher

This is a get balance API code like this I want send transaction code

curl_setopt_array($curl, array( CURLOPT_URL => "https://api.etherscan.io/api?module=account&action=balance&address=0xC1A71f1eFC01D77aA102A9CE248c5360C347Abc8&tag=latest&apikey=YourApiKeyToken", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_TIMEOUT => 30000, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( // Set Here Your Requesred Headers 'Content-Type: application/json', ), )); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl);
Jun 17 in Blockchain by vishal tyagi
43 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Blockchain

0 votes
1 answer

Where are the transaction details of a smart contract is written in Ethereum?

First ques:where in the blockchain is a ...READ MORE

answered Jul 11, 2018 in Blockchain by Shashank
• 10,350 points
46 views
0 votes
1 answer
0 votes
1 answer

Why is (startingBalance - endBalance) > (gasUsed * gasPrice) for an Ethereum transaction?

startingBalance and endBalance are BigNumber objects. Change ...READ MORE

answered Oct 1, 2018 in Blockchain by digger
• 26,550 points
43 views
0 votes
1 answer

How can i integrate Omnet++ with ethereum ?? or is there any other simulator which can do this??

You can use Hive Validator. Using this, you ...READ MORE

answered Apr 9 in Blockchain by Omkar
• 67,660 points
105 views
+1 vote
1 answer

Transaction using Blockchain wallet APi

Each transaction requires a fee to be ...READ MORE

answered Jun 19, 2018 in Blockchain by Perry
• 17,020 points
61 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
170 views
0 votes
1 answer
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,340 points
91 views