Ethereum 以太坊中是否有用于以太发送事务的API

Ethereum 以太坊中是否有用于以太发送事务的API,ethereum,Ethereum,我想通过API而不是web3.js来执行事务(发送以太或令牌) 我试过以太扫描,阻止密码 这是一个像这样的获取平衡API代码我想发送事务代码 curl_setopt_array($curl, array( CURLOPT_URL => "https://api.etherscan.io/api?module=account&action=balance&address=0xC1A71f1eFC01D77aA102A9CE248c5360C347Abc

我想通过API而不是web3.js来执行事务(发送以太或令牌)

我试过以太扫描,阻止密码

这是一个像这样的获取平衡API代码我想发送事务代码

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);

您需要做的是对以太坊节点进行RPC调用。基本上,web3库是围绕这一点的包装器

文档可在此处找到: