FRUITS API Document
Search…
Get Blocks
Get blocks from the blockchain in reverse block height order.
Request: requestType is getBlocks firstIndex is the first block to retrieve (optional, default is zero or the last block on the blockchain) lastIndex is the last block to retrieve (optional, default is firstIndex + 99) includeTransactions is true to include transaction details (optional)
Response:
(A) blocks is the array of blocks retrieved (refer to Get Block for details) (N) requestProcessingTime is the API request processing time (in millisec)
Copy link