Stelo's philosophy is that transaction safety and transaction understanding go hand in hand. By presenting users with relevant information and making transactions incredibly easy to understand, developers can empower users to stay safe.
The Stelo API provides rich contextual information about Assets and Entities.
Assets
An asset object represents an asset of value (token) and contains the following enriched information about that asset:
- One of four possible types:
NATIVE
,ERC20
,ERC721
orERC1155
- Contract address
- Amount
- Formatted amount (applying the decimals field to make the amount legible)
- Price in USD
- Token id (only present if transferring or approving a specific ERC721/1155 token id)
- Image url (canonical image of the asset)
- Name (canonical name of the asset)
- Symbol (canonical symbol of the asset)
- Decimals
- Asset url (official URL of the asset)
- Verified on OpenSea?
For an exhaustive list of fields, see the full Asset
type description here.
Entities
An entity object represents either an account (also known as externally-owned account or EOA) or a contract.
Accounts
An account (EOA) object contains the following enriched information:
- Address
- ENS name (if present)
- Number of NFTs owned
- Images of top 5 NFTs
- Number of token transfers sent by the current user to this account
For an exhaustive list of fields, see the full Account
type description here.
Contracts
A contract object contains the following enriched information:
- Address
- Contract label (name), if available
- Is contract source code available on etherscan?
- Date the contract was deployed
- Total transactions sent to the contract
- Transactions sent to the contract in the last 30 days
For an exhaustive list of fields, see the full Contract
type description here.