-
Notifications
You must be signed in to change notification settings - Fork 170
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
[API Request] /block/ **endpoints** #2108
Comments
Miner contract address being returned for header information would be useful as well. You can either determine it by getting full block information and parsing the coinbase transaction, or it can be compiled using the |
Size on the explorer looks weird , max short value just. I guess, you are requesting a new method which will return transactions count (miner address) by header id ? Not sure this information is needed for all the header endpoint users. |
I was hoping it would be returned with all current header info endpoint rather than a new dedicated endpoint for my request |
Why "/header" request should suddenly start providing auxiliary information in addition to header? I think introducing new request is more clear |
@kushti the problem with a new request is that it is only one specific endpoint. I ask that the auxiliary information is added to the BlockHeader schema itself as it allows all header related endpoint to have the info such as It is difficult to use the node as a replacement to the explorer otherwise. |
When headers information only is returned it would be useful to also return transaction count.
This is needed because currently, if I want transaction count I must load the full block which returns all transaction information. This may not be an issue for one block, however, when requesting several full blocks in one request, the data really adds up. It becomes unmanageable for web clients.
The text was updated successfully, but these errors were encountered: