REST API

Discussion of development releases of Prohashing / Requests for features
Forum rules
The Development forum is for discussion of development releases of Prohashing and for feedback on the site, requests for features, etc.

While we can't promise we will be able to implement every feature request, we will give them each due consideration and do our best with the resources and staffing we have available.

For the full list of PROHASHING forums rules, please visit https://prohashing.com/help/prohashing- ... rms-forums.
Locked
T0m4
Posts: 2
Joined: Tue Nov 10, 2020 11:29 am

REST API

Post by T0m4 » Tue Nov 10, 2020 11:31 am

Hello,

https://prohashing.com/statusFoundBlock ... 1&count=10
Can I access these data using REST API ?

Thx
User avatar
Steve Sokolowski
Posts: 4585
Joined: Wed Aug 27, 2014 3:27 pm
Location: State College, PA

Re: REST API

Post by Steve Sokolowski » Wed Nov 11, 2020 9:16 am

T0m4 wrote: Tue Nov 10, 2020 11:31 am Hello,

https://prohashing.com/statusFoundBlock ... 1&count=10
Can I access these data using REST API ?

Thx
Unfortunately, we don't have a REST API for found blocks.

However, there is a WAMP API that provides live found blocks, and you can read more about it in the documentation. Most likely, the WAMP API is more relevant for what you would like to do, given that REST polling could not detect the blocks quickly enough.
T0m4
Posts: 2
Joined: Tue Nov 10, 2020 11:29 am

Re: REST API

Post by T0m4 » Thu Nov 12, 2020 2:15 am

Hello.
Perfect, I'll try that.
Thx a lot
Locked