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
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
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.
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
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).
Thank you for comment.
i understand, I wiil do well.