Suggestion: get deck codes without a Friend request

I’m sure that if you’ve played ladder - whether standard or wild - you’ve had this experience: you’re playing a game, and the deck your opponent is playing looks pretty cool. And fun. And actually, now that you think about it, you’d really like to give that deck a try too!

So at the end of the game, you submit a friend request.

Except, we all know (from many posts on Reddit) that a lot of these “friend requests” aren’t about making new friends, they are from salty people who just want to spam you with abusive messages. (This is a problem, but this idea is not about trying to fix those interactions)

Because these types of negative interactions are perceived as being commonplace, it means your friend request probably never gets accepted. And without a friend request acceptance, you have no way of asking the person for the deck code for their deck.

So here’s the idea: could the Hearthstone team please build in a way to automatically obtain the deck code for your most recent opponent?

I know nothing about coding so I have no idea if this sort of idea is even possible to do. But it’d be a really nice function if it were possible, I would definitely use it.