# Uphold

> Read supported assets, exchange rates, countries, and networks from Uphold Enterprise.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/uphold

## Actions

### Get a supported country

Get a supported country.

**Inputs**

- Country (`country`, text, required): The unique code of the country.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "country": {
      "asset": "example",
      "code": "example",
      "name": "example",
      "restrictions": [],
      "subdivisions": []
    }
  }
}
```

### Get an asset

Get an asset.

**Inputs**

- Asset (`asset`, text, required): The asset code.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "asset": {
      "code": "example",
      "cooldowns": [],
      "decimals": 1,
      "delisted": false,
      "delistedAt": "example",
      "features": [],
      "listedAt": "example",
      "logo": "example",
      "name": "example",
      "symbol": "example",
      "type": "fiat"
    }
  }
}
```

### Get asset rates

Get asset rates.

**Inputs**

- Asset (`asset`, text, required): The asset code.
- Denomination (`denomination`, list): Filter rates by specified assets.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "rates": {}
  }
}
```

### Get historical asset rates

Get historical asset rates.

**Inputs**

- Asset (`asset`, text, required): The asset code.
- Denomination (`denomination`, text): Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
- Interval (`interval`, text): The interval for the historical rates. One of: `one-hour`, `one-day`, `one-week`, `one-month`, `one-year`, `five-years`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "historicalRates": {}
  }
}
```

### List supported assets

List supported assets.

**Inputs**

- Type (`type`, list): Filter assets by type. One or more of: `fiat`, `crypto`.
- Features (`features`, list): Filter assets by features. One or more of: `buy`, `sell`, `transfer`, `withdraw`, `deposit`.
- Sort (`sort`, text): Sort assets by a criterion. One of: `code:asc`, `code:desc`, `name:asc`, `name:desc`, `price:asc`, `price:desc`, `price-delta:asc:one-hour`, `price-delta:asc:one-day`, `price-delta:asc:one-week`, `price-delta:asc:one-month`, and 10 more.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "assets": []
  }
}
```

### List supported blockchains

List supported blockchains.

**Inputs**

- Type (`type`, list): Filter networks by type.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "networks": []
  }
}
```

### List supported countries

List supported countries.

**Inputs**: None.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "countries": []
  }
}
```
