Get contract meta data based on transfer.to_address

Hello, Iam retrieving erc20 transfers for a wallet address.
I would like to get the contract meta data based on the to_address of the transfer.

Example:
I have the MATIC address ā€œ0xdac8a8e6dbf8c690ec6815e0ff03491b2770255dā€ and I would like to have an API that returns the name of the contract (e.g. UniswapV3Pool).

I have not found in the API documentation. I think I am missing something very basic.

BR,
Eduard

For ERC20 contracts, you can use getTokenMetadata.

Since you mentioned UniswapV3Pool, for other general contracts (not NFT or ERC20), you could use runContractFunction and call the name function on the contract. Note not all contracts will have name available.