Coder Social home page Coder Social logo

API Endpoints about monero-pool HOT 6 CLOSED

OlMi1 avatar OlMi1 commented on May 26, 2024
API Endpoints

from monero-pool.

Comments (6)

jtgrassie avatar jtgrassie commented on May 26, 2024

The only endpoints are /stats and /workers, there are no arguments. Any half competent web dev can see what's going on simply by loading the reference pool and opening the browsers inspector tools.

from monero-pool.

OlMi1 avatar OlMi1 commented on May 26, 2024

No reason to get salty my guy. So there's no way to view the hashrate of an address? Why does the template then even exists? (From /stats:

miner_hashrate":0,"miner_hashrate_stats":[0,0,0,0,0,0],"miner_balance":0.00000000,"worker_count
```)

from monero-pool.

jtgrassie avatar jtgrassie commented on May 26, 2024

So there's no way to view the hashrate of an address?

Of course there is, that's one thing /stats reports on:

Screen Shot 2022-01-28 at 9 30 47 AM

No reason to get salty my guy.

It's tedious explaining to people things they should be able see with their eyes. This is a bug tracker, not a user support forum.

from monero-pool.

OlMi1 avatar OlMi1 commented on May 26, 2024

Of course there is, that's one thing /stats reports on:

I saw that when looking through the HTML for the web UI and the c class but could not really figure out How to add the address as argument since it does not seem to be server/stats/address or server/address/stats.

It's tedious explaining to people things they should be able see with their eyes. This is a bug tracker, not a user support forum.

Agreed, but in this case I was not able to reconstruct how to access the API from the source code provided. Btw, I did not intend to offend you or anything, sorry if I did.

from monero-pool.

jtgrassie avatar jtgrassie commented on May 26, 2024

I was not able to reconstruct how to access the API from the source code provided

If you look at the HTML, you'll see the wallet address field (#address) gets stored in a cookie (in the onblur function).

Now please, this is a bug tracker, not a user support forum.

from monero-pool.

OlMi1 avatar OlMi1 commented on May 26, 2024

Okay, so summing up: The cookie "wa" contains the XMR address, and when /stats is called, it uses that cookie to give address data.
Thank you for your help!

from monero-pool.

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.