How to get ALL unconfirmed TX?

Hello, I want to get all unconfirmed Transactions by NIS REST API.

I put 60 multisig TX, and get unconfirmed TX by account/unconfirmedTransactions, but only 25 TXs are displayed.
How to get all TXs?
It’s need for my work, thanks :grinning:

Hello.

You have NIS API documentation here:
https://bob.nem.ninja/docs/

to solve your problem you will have to do multiple requests with additional parameters.
Check the following part in the documentation regarding sorting and filtering of transactions:
https://bob.nem.ninja/docs/#incoming-transactions

Thank you for comment!

I tried transaction hash as key, but it didn’t work. :disappointed_relieved:

Thank you.

Have you tried using the transaction ID instead?

unconfirmed TX do not have ID.
I think reason is unconfirmed TX is not recored yet.

Thank you :disappointed_relieved:

Hmm. So far I’ve just used websockets for unconfirmed txs, but have only tested with the odd transaction – no more than a couple at a time, really.

hey there,

there is a limit of 25 unconfirmed transactions to be read.

There is a distributed transaction cache from what I know (starting at 120 transactions in unconfirmed, you will need to pay higher fees.). This unconfirmed transactions cache is distributed across nodes but I don’t think you can use any API to read more than 25 unconfirmed transactions.

A work around would be to split onto different addresses. (3 accounts à 20 unconfirmed, and you fixed your problem).

1 Like

Thank you for comment.
i understand, I wiil do well. :grinning:

1 Like