Skip to content

snapshot-labs/stamp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Stamp

Resolve and resize web3 avatar and token images.

Usage

Simply use a valid Stamp URL to display an avatar:

https://cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7

<img src="https://cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7" />

URL structure

cdn.stamp.fyi/{type}/{identifier}?{params}
cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7?s=140

Type

The type is either avatar or token.

Examples

cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7
cdn.stamp.fyi/token/0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e

Identifier

The identifier can be an address (case insensitive), ENS name, CAIP-10, EIP-3770 or DID.

Examples

cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7
cdn.stamp.fyi/avatar/fabien.eth
cdn.stamp.fyi/token/eth:0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e
cdn.stamp.fyi/token/eip155:1:0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e

Params

With the params you can define the size of the image returned. You can also refresh the image cache using cb param.

Examples

cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7?s=160 cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7?w=160&h=240 cdn.stamp.fyi/avatar/0xeF8305E140ac520225DAf050e2f71d5fBcC543e7?cb=1

Resolvers

ENS avatar

Lens

Self.ID

Snapshot

TrustWallet Assets Info

Blockie

Jazzicon

Integrations

Snapshot

Parcel

Lenster

RSS3

Cirip

Lenstube

You?

License

MIT.