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

add getRawBlockTransactions func #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaybbbb
Copy link

@jaybbbb jaybbbb commented Dec 14, 2023

Function detail

  • This function combined getBlockTransactions/getTransactions
  • Each transactions item now has raw field for rawTransaction
  • Set default count to 256(equal in pytonlib's getBlockTransactions max chunk count)

Purpose

  • For the convenient utilization when you need to see all rawTransactions in a block

* this function combined getBlockTransactions/getTransactions
* each transactions item now has raw field for rawTransaction
* set defaut count to 256(equal in pytonlib's getBlockTransaction max chunk count)
@yungwine
Copy link
Contributor

@jaybbbb there is a method in tonlib which returns full transactions (not only their ids). this method is also implemented in pytonlib, so I believe its better to implement the feature using that method. This will allow you to get full transactions for 1 request, instead of doing an extra request for every block's transaction

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

Successfully merging this pull request may close these issues.

2 participants