Currently, ApiBlockInfoTrait::getBlockDetails() gives identical looking information for a local and a global block. Since the information includes the database ID, it really should specify which database the ID is for, ie. there should be some sort of block type field.
This would probably require adding a type field to the Block interface.