F
Flow8mo ago
ElDumbo

Luke | Flow Community (2024-05-21)

hey, could I get a hand with this Q:
Hi Flow team, could you please provide the RPC to obtain the latest block height? Also, the RPC to retrieve transactions based on the block height. Thank you
5 Replies
Needle
Needle8mo ago
I've created a thread for your message. Please continue any relevant discussion in this thread. You can rename this thread using /title <new title> If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadence
ElDumbo
ElDumboOP8mo ago
@Vishal | Flow maybe?
Vishal | Flow
Vishal | Flow8mo ago
gRPC endpoints are documented here - https://developers.flow.com/networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api flow cli uses gRPC and to get the latest block you do flow blocks get latest -n mainnet if you are using REST, then the API is here: https://developers.flow.com/http-api Flow cli: https://developers.flow.com/tools/flow-cli
ElDumbo
ElDumboOP8mo ago
thank you mate!!
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server