Coder Social home page Coder Social logo

Add http rest API about btc-rpc-explorer HOT 6 CLOSED

janoside avatar janoside commented on July 23, 2024 2
Add http rest API

from btc-rpc-explorer.

Comments (6)

janoside avatar janoside commented on July 23, 2024 1

We have an API, finally! See it on the demo site at https://bitcoinexplorer.org/api/docs

This is available now for source installations and will be included in the next release coming soon.

from btc-rpc-explorer.

got3nks avatar got3nks commented on July 23, 2024

REST API would be great, +1

from btc-rpc-explorer.

mortalys avatar mortalys commented on July 23, 2024

Was the feature implemented ? Would be great to access JSON requests on page without need to go on the tabs

from btc-rpc-explorer.

fellowworldcitizen avatar fellowworldcitizen commented on July 23, 2024

+1! JSON is already there! Could be as simple as adding json/1 to URL. Then show json as: [{"tabname1":json1},{"tabname2":json2}].

from btc-rpc-explorer.

pointbiz avatar pointbiz commented on July 23, 2024

There's already an API that's not documented.
See the routes/ApiRouter.js
Here's an example.
https://explorer.btc21.org/api/blocks-by-height/1

So, I presume the task would be to add more routes to that ApiRouter that reuse some logic from the routes that return HTML but instead return JSON.

And a task to make the ApI documentation.

from btc-rpc-explorer.

pointbiz avatar pointbiz commented on July 23, 2024

Here's an API for a raw transaction:
https://explorer.btc21.org/api/raw-tx-with-inputs/b780b77040647f7a8196a72249ce70d04fb0964fa11dec2e53564d251d0ed5ab

from btc-rpc-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.