Introducing Asset Search 🔎

The List Assets endpoint simply outputs all of the digital assets that currently have an Upvest asset_id set up. This could make finding specific assets a bit complicated and tedious, so we’ve added the ability to fuzzy search through the assets.

For example, the following search string will return any assets that contain the string "BAT":
/1.0/assets/?search=BAT

{
"next": null,
"previous": null,
"results": [
{
"id": "b3a812c5-05d5-5331-baac-7535bec224ec",
"name": "Basic Attention Token",
"symbol": "BAT",
"exponent": 18,
"protocol": "erc20",
"metadata": {
"contract": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
"chain_id": 1
}
}
]
}

This search function searches within the name, symbol, and contract (address) values.