Coder Social home page Coder Social logo

Comments (5)

Uxio0 avatar Uxio0 commented on August 15, 2024

I can do it both ways, what do you think @rmeissner

from safe-transaction-service.

rmeissner avatar rmeissner commented on August 15, 2024

yes, and maybe add a filter to allow filtering only incoming or only outgoing

from safe-transaction-service.

Uxio0 avatar Uxio0 commented on August 15, 2024

yes, and maybe add a filter to allow filtering only incoming or only outgoing

It will be addressed on #80

from safe-transaction-service.

Uxio0 avatar Uxio0 commented on August 15, 2024

I added tokenId to the endpoint for ERC721 transfers and type to make it easier for the frontend to see what kind of tx is each one

from safe-transaction-service.

Uxio0 avatar Uxio0 commented on August 15, 2024

Example of the endpoint:

[{
        type: "ERC20_TRANSFER",
        executionDate: "2020-03-20T13:21:03Z",
        blockNumber: 6170425,
        transactionHash: "0x59503f82486be12f38c2142100c1e16e8ebdb4e4cfaffd67977086d6de3da13f",
        to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
        value: "100000000000000000000",
        tokenId: null,
        tokenAddress: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa",
        from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
    },
    {
        type: "ERC20_TRANSFER",
        executionDate: "2020-03-20T13:18:33Z",
        blockNumber: 6170415,
        transactionHash: "0x704d1feff147e46a398e01329879bb853122258f5bc4e23fbd88937ca9a54ece",
        to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
        value: "500000000000000000",
        tokenId: null,
        tokenAddress: "0xc778417E063141139Fce010982780140Aa0cD5Ab",
        from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
    },
    {
        type: "ERC721_TRANSFER",
        executionDate: "2020-03-18T20:11:50Z",
        blockNumber: 6160549,
        transactionHash: "0x357fd69e21c7a850a0b9e656d2623008eb30191a814f000d2a76cdc4ba998c94",
        to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
        value: null,
        tokenId: "10",
        tokenAddress: "0xBD5603813416b9bED6f5ED2E9B858BA19a4b8E29",
        from: "0x6a3eC06886aE5F7a1c019C524021E9e079FF9c45"
    },
    {
        type: "ERC721_TRANSFER",
        executionDate: "2020-03-18T19:21:34Z",
        blockNumber: 6160348,
        transactionHash: "0x8679a1b46841b9d9c8d6130ae1dac182b6ce67d1c47217f9aa81893b614021ad",
        to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
        value: null,
        tokenId: "19",
        tokenAddress: "0x2dfD872205A94308E5CeF193DCd5E2060B9a128B",
        from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
    },
    {
        type: "ETHER_TRANSFER",
        executionDate: "2019-12-18T20:08:19Z",
        blockNumber: 5637361,
        transactionHash: "0x51c0f5d90077936bcd4cfb3254b9153af7600a323f1f1bda5f9114868e8730b9",
        to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
        value: "1000000000000000000",
        tokenId: null,
        tokenAddress: null,
        from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
    }
]

from safe-transaction-service.

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.