Bitcoin Forum
June 25, 2024, 04:47:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Mining Pool Hub - Multipool. Multialgo, Auto Exchange to any coin. on: January 25, 2018, 11:18:34 PM
Hi guys,

I'm trying to get my last transactions for litecoin with the API, and it works for the first 30 transactions:
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]

But I need to get more than 30 transactions. Using the MiningPoolHub website, I found that there are several pages for the transactions section (note the "&start=30"):
https://litecoin.miningpoolhub.com/index.php?page=account&action=transactions&start=30

If I include the "&start=30" with the API, it shows the same transactions than the first page, and it happens with any value for "start":
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]&start=30
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]&start=60

This happens to me also for Zclassic and Zencash.

Is this an error of the API? Is there a way to get more than 30 transactions?

I could not find anything about this on the API reference (https://github.com/miningpoolhub/php-mpos/wiki/API-Reference).

Thanks in advance for the help.

No, that API won't do that, probably to prevent hundreds of people bogging down the front-end web site by doing exactly that.

If you want each and every one of your micro-cent transactions, you'll have to figure out how to write a webpage screen-scraping application on your own and do it the old fashioned way.  Not sure why you feel the need to have that level of historical detail, but to each his own.


Or, you could just track your actual payouts instead.

I see, thanks for the tip. I just wanted to verify that the credits of the "Last 24 Hours" section were the exact number. But in theory it is 100% real.
2  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Mining Pool Hub - Multipool. Multialgo, Auto Exchange to any coin. on: January 20, 2018, 11:37:58 PM
Hi guys,

I'm trying to get my last transactions for litecoin with the API, and it works for the first 30 transactions:
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]

But I need to get more than 30 transactions. Using the MiningPoolHub website, I found that there are several pages for the transactions section (note the "&start=30"):
https://litecoin.miningpoolhub.com/index.php?page=account&action=transactions&start=30

If I include the "&start=30" with the API, it shows the same transactions than the first page, and it happens with any value for "start":
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]&start=30
https://litecoin.miningpoolhub.com/index.php?page=api&action=getusertransactions&api_key=[API_KEY_HERE]&start=60

This happens to me also for Zclassic and Zencash.

Is this an error of the API? Is there a way to get more than 30 transactions?

I could not find anything about this on the API reference (https://github.com/miningpoolhub/php-mpos/wiki/API-Reference).

Thanks in advance for the help.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!