Code Monkey home page Code Monkey logo

Comments (3)

AlexITC avatar AlexITC commented on May 20, 2024

The API side is ready, this is an example request with response:

➜  server git:(develop) ✗ http GET localhost:9000/addresses/XvNBN8xe5twNu1qLh2M7ZgkjRY9sEeXpCx/transactions limit==3 orderBy==received:desc
HTTP/1.1 200 OK

{
    "data": [
        {
            "blockhash": "59e80af3e04c597161e02fb2910c29b2fcc7bc4d8ece56583c9abc15616a36f8", 
            "id": "7ea61a229b598ae45b618d3a148760887e70d65000dfc73b49cf96d91825a918", 
            "received": 15000, 
            "sent": 0, 
            "size": 519, 
            "time": 1522809775
        }, 
        {
            "blockhash": "7a1e7c4be6b0b885e87935a24b250d6606444d42262b0eceedeedf64ed6434d7", 
            "id": "f33a48f3e1c2cb6f760d32d7db09ef077e4db1d47543abe2eb90ed33474887fc", 
            "received": 42.75, 
            "sent": 22.5, 
            "size": 234, 
            "time": 1526174028
        }, 
        {
            "blockhash": "244987e5695f50c078ff9ddcf30dd3c2ba7ff6d7810ec8a610216b72131291f0", 
            "id": "1be1c4748cf238233a92f9871574bad3023fad69cb77fba2477e2a8a849f9ce7", 
            "received": 22.5, 
            "sent": 0, 
            "size": 234, 
            "time": 1523090311
        }
    ], 
    "limit": 3, 
    "offset": 0, 
    "total": 88
}

from block-explorer.

AlexITC avatar AlexITC commented on May 20, 2024

This has been resolved.

from block-explorer.

AlexITC avatar AlexITC commented on May 20, 2024

One thing that I forget to mention is that this depended on the addressindex which might be lost on the segwit update.

from block-explorer.

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.