[英]How to get informative data in smart contract with using API in R
I want to get informative data about the contract with using API.我想获取有关使用 API 的合同的信息数据。
I found hash address with using Etherscan.我使用 Etherscan 找到了 hash 地址。 I copied the contract to the R.
我将合同复制到 R。 But I don't know how to get informative data (such as balance, token info etc.)
但我不知道如何获取信息数据(例如余额、代币信息等)
My screen look like this:我的屏幕如下所示:
Smart contracts are written in Solidity programming language.智能合约是用 Solidity 编程语言编写的。 Solidity programming language is not R programming language.
Solidity 编程语言不是 R 编程语言。 You just cannot copy paste stuff from one language for another.
您只是不能将一种语言的粘贴内容复制到另一种语言。
The correct answer is to run Ethereum node and use JSON-RPC API.正确答案是运行以太坊节点并使用 JSON-RPC API。 But seems like your starting level of programming knowledge is too low for this, so recommend doing basic programming courses and learning before trying to try anything this complex.
但是似乎您的编程知识的起始水平太低了,因此建议您在尝试任何复杂的事情之前先学习基本的编程课程和学习。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.