Getting full transaction history

Is there anyway to get an account’s full transaction history? I can only get 25 transaction using the api

Because I don’t have now access to computer I can’t check but you must use additional parameter hash which is block hash to get next 25 transactions.

https://nemproject.github.io/#requesting-transaction-data-for-an-account

You can look at requests send by http://nem-tools.com/#/transactions (as far as I remember it calls directly NEM API) - verify requests send by browser.

Thank you. I ended up just using the page instead of writing one myself. Do you know where I can do the same for harvesting history? Also, how do I get the sender address without having to make another api call?

There is second tab “Harvesting Transactions”. About sender it could be probably calculated from signer or other data return by transaction (as you can see service to which I provide link don’t do additional API call).
You can show API calls in Chrome when you click F12 a go Network tab.

You can look also NEM-sdk (https://docs.nem.io/en/nem-sdk). Looks better to use it instead of write javascript yourself (of course if you use javascript).

1 Like

if you take a closer look into http://nem-tools.com/#/transactions you see a tab where you can select only harvesting transactions

the only “problem” that currently exists on nem-tools is that only “standard”-transactions are covered in the history. multisignature-transactions are currently not shown in the tx-history.

1 Like

The link http://nem-tools.com/#/transactions no longer works. Do you know what the new address for the tool is?

@marc0o will add it again to this tool when he find some time

Hi,

Could you please let me know which API you have used to fetch all transaction history instead of the last 25?

You can paginate using id or hash parameter

okay, will check