【问题标题】:Does tomochain RPC support eth_get_logs and eth_get_transaction_receipt?tomochain RPC 是否支持 eth_get_logs 和 eth_get_transaction_receipt?
【发布时间】:2019-09-12 14:34:45
【问题描述】:

我正在努力将 Tomochain 与我们的服务集成。我想知道 Tomochain 节点是否支持这些 API 方法。

eth_get_transaction_receipt

eth_get_logs

【问题讨论】:

    标签: tomochain


    【解决方案1】:

    是的,您可以通过 TomoChain Public RPC 获取交易收据:

    curl --request POST   --url https://rpc.tomochain.com/getTransactionReceipt   --header 'content-type: application/json'   --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xe06c9409cd813cf82202cb3ebf7da2452e77dfad1c08b4e6b373924318629016"],"id":1}'
    

    查看详情:https://tomochain.github.io/rpc-swagger/#/eth/getTransactionReceipt

    【讨论】:

      猜你喜欢
      • 2010-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-13
      • 1970-01-01
      • 2023-03-30
      • 2012-07-26
      • 1970-01-01
      相关资源
      最近更新 更多