Giter Site home page Giter Site logo

Comments (1)

Thegaram avatar Thegaram commented on September 4, 2024

Works with curl, maybe an issue with web3.py?

> cast sig-event "Transfer(address,address,uint256)"
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

> curl -H 'Content-Type: application/json' --compressed -d '{"jsonrpc":"2.0","id":"id","method":"eth_getLogs", "params": [{ "address": "0x14b2D3bC65e74DAE1030EAFd8ac30c533c976A9b", "fromBlock": "0x45568E7", "toBlock": "0x45568E9", "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"] }]}' https://evm.confluxrpc.com | jq
{
  "jsonrpc": "2.0",
  "id": "id",
  "result": [
    {
      "address": "0x14b2d3bc65e74dae1030eafd8ac30c533c976a9b",
      "blockHash": "0x67047bfb69f095108104d78bf846e6830e10b995691a677db2277aea95754d0c",
      "blockNumber": "0x45568e8",
      "data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000",
      "logIndex": "0x0",
      "removed": false,
      "topics": [
        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
        "0x000000000000000000000000d059075bf71107c56522b60354feb51edd1654bf",
        "0x0000000000000000000000001ae2d3c16be0e748a47a0e8dde94822268a0df65"
      ],
      "transactionHash": "0x162ec195bce4e38a244c98b0cd5b75e5508406008e567e4f09e7fd785f8658a0",
      "transactionIndex": "0x0",
      "transactionLogIndex": "0x0"
    }
  ]
}

from conflux-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.