Properties
| Name | Type | Description |
|---|---|---|
| name | string | The contract name. |
| description | string | |
| officialSite | string | |
| string | ||
| logoAsset | object | |
| bannerAsset | object | |
| color | string | |
| resourceLinks | array | |
| tags | array | |
| address | string | A wallet or contract address in mixed-case checksum encoding. |
| deploymentDetails | object | |
| ercType | string | |
| symbol | string | The contract symbol. |
| decimals | number | The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation. |
| pricingProviders | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/Erc20Contract.json",
"title": "Erc20Contract",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The contract name.",
"examples": [
"Wrapped AVAX"
]
},
"description": {
"type": "string"
},
"officialSite": {
"type": "string"
},
"email": {
"type": "string"
},
"logoAsset": {
"$ref": "#/components/schemas/ImageAsset"
},
"bannerAsset": {
"$ref": "#/components/schemas/ImageAsset"
},
"color": {
"type": "string"
},
"resourceLinks": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ResourceLink"
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"address": {
"type": "string",
"description": "A wallet or contract address in mixed-case checksum encoding.",
"examples": [
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
]
},
"deploymentDetails": {
"$ref": "#/components/schemas/ContractDeploymentDetails"
},
"ercType": {
"type": "string",
"enum": [
"ERC-20"
]
},
"symbol": {
"type": "string",
"description": "The contract symbol.",
"examples": [
"WAVAX"
]
},
"decimals": {
"type": "number",
"description": "The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.",
"examples": [
18
]
},
"pricingProviders": {
"$ref": "#/components/schemas/PricingProviders"
}
},
"required": [
"address",
"ercType",
"decimals"
]
}