eth-avatars 0.0.2

A library for fetching Ethereum avatars.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use alloy::sol;

sol! {
    #[sol(rpc)]
    interface IERC721 {
        function tokenURI(uint256 tokenId) external view returns (string);
    }
    #[sol(rpc)]
    interface IERC1155 {
        function uri(uint256 id) external view returns (string);
    }
}