> For the complete documentation index, see [llms.txt](https://aa-dev.gitbook.io/aa-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aa-dev.gitbook.io/aa-dev/odapp/getassetbysymbol-s.md).

# getAssetBySymbol(s)

Get asset unit by symbol(s)

### Spec

```typescript
getAssetBySymbol(symbol: string, registryAddress?: string)
getAssetBySymbols(symbols: string[], registryAddress?: string)
```

### Example

```javascript
await Client.getAssetBySymbol('IUSD_V2');
```

```javascript
await Client.getAssetBySymbols(['IUSD_V2', 'IUSD']);
```

{% hint style="info" %}
If registryAddress is not specified, library uses the registry address set by default on the hub. By default, this is the address O6H6ZIFI57X3PLTYHOCVYPP5A553CYFQ, however, the hub owner can change it to another address.
{% endhint %}

### Response getAssetBySymbol

```json
IWwTGdT+S7+eJkNi/pSvlakG0Kpv3zE2L0eWAk1Kemk=
```

### Response getAssetBySymbols

```json
{
  "IUSD_V2": "IWwTGdT+S7+eJkNi/pSvlakG0Kpv3zE2L0eWAk1Kemk=",
  "IUSD": "y6rgKvNV6CD1fa4PkfB28rSuje1l+DS70XWXBCzaSm4="
}
```
