API.

Get AVATAR

GET https://api.carbontoken.info/api/v1/avatar/:avatarname

This endpoint allows apps to request AVATAR info if their app has been whitelisted by the AVATAR Owner.

Path Parameters

NameTypeDescription

avatarname

string

Avatar Name

{"address":"0xc3d075c670d2e26af8c46d53427711fe401ec7ac","name":"zilstream"}

Get AVATARS for Single Address

GET https://api.carbontoken.info/api/v1/address/:address

Returns an array of all Avatars owned by the given address.

Path Parameters

NameTypeDescription

address

string

Zilliqa Address in Base16 format

["avatar1","avatar2","avatar..n"]

Get AVATARS for Multiple Addresses

GET https://api.carbontoken.info/api/v1/avatars?addresses=:addresses

Returns a JSON object of AVATARS

Path Parameters

NameTypeDescription

addresses

string

comma separated list of Zilliqa Addresses in Base16 format

{
    "0xaddress1": ["avatar1","avatar2"],
    "0xaddress2": ["avatar3"]
}

Last updated