Get All Prunable Messages
Get all available prunable messages in reverse block timestamp order.
Request:
- requestType is getAllPrunableMessages
- timestamp is the earliest message (in seconds since the genesis block) to retrieve (optional)
- firstIndex is a zero-based index to the first prunable message to retrieve (optional)
- lastIndex is a zero-based index to the last prunable message to retrieve (optional)
- requireBlock is the block ID of a block that must be present in the blockchain during execution (optional)
- requireLastBlock is the block ID of a block that must be last in the blockchain during execution (optional)
Response:
- prunableMessages (A) is an array of prunable messages (refer to Get Prunable Message)
- lastBlock (S) is the last block ID on the blockchain (applies if requireBlock is provided but not requireLastBlock)
- requestProcessingTime (N) is the API request processing time (in millsec)