I need some help, guys. Just try to understand how to use access api
I can’t realize how should I properly make call on blocks - https://rest-mainnet.onflow.org/v1/blocks.
How should I pass parameters like start_height and end_height? Or parameter of array of heights?
Thanks for any help
put as query parameters there, https://rest-mainnet.onflow.org/v1/blocks?height=sealed for example.
basically if request type is GET, query parameters, if POST, request body.
Thank you for your answer. But what about heights in range or height in array? I just can’t get any information trying to make call like this
let me give you an example:
query string parameters can be combined with &
PS: if you join discord, you can get faster answers
Yeah, it’s working. Thank you so much! Will ask through Discord on further questions
yeah I am bluesign there too, don’t hesitate to ask, glad to help