Use:
~smtpclientblocks~
<format string>
~end~
The format string can have the replacements
Note that this only returns the blocks which have not yet expired. The database stores blocks for 30 days after expiry as a basic audit trail, those can only be accessed from the database directly.