How to get the details of a token transaction[like amount sent] on Near protocol

Im trying to get the details of a token transaction on near.
Details like the token amount that was sent.

The JSON RPC endpoints only returns details related to the amount of NEAR involved in the transaction.

Some of the tokens(like token.sweat) emit a log that contains the token amount involved in the transaction, but this is not consistent across all tokens on Near.

Is there a standard way of getting this?

I'd imagine there is, because explorers on near are able to get these details too.
Thanks.