Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lib.getAccountTransactions]: Always return maximum 16 transactions #5

Open
mainsmirnov opened this issue Jan 4, 2023 · 0 comments

Comments

@mainsmirnov
Copy link

ReadMe:

NOTE: This method always returns at most 20 results. Example

Execute for test:

fetch('https://mainnet-v4.tonhubapi.com/account/EQCo6VT63H1vKJTiUo6W4M8RrTURCyk5MdbosuL5auEqpz-C/tx/27668319000001/x2_3cqpuYzOC0CZU9bNMfGG84FT_huceZpcrcr2Bvgc')
.then((data) => data.json())
.then((data) => console.log(data.blocks.length))

API always return maximum 16 transactions, maybe method need count in arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant