---
title: "exchange rate · RUAL Documentation"
description: "Get the exchange rate between two currencies (ECB daily reference rates)."
canonical: https://docs.rual.nl/block-types/finance/currency_rate
language: en
---

# exchange rate

This block is part of the [`finance`](https://docs.rual.nl/block-types/finance) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Get the exchange rate between two currencies (ECB daily reference rates).

- flow `flow`

- from required `value`

- to required `value`

- flow `flow`

- success `condition`

- rate `number` Units of `to` per one `from`.

- last update `date` When ECB last published these rates.

- error `value`

| `fx rate` |
| --- |
| `get rate` |
| `exchange rate` |

A typical wiring for [exchange rate](https://docs.rual.nl/block-types/finance/currency_rate): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `from` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `to` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the exchange rate block: typical wiring for exchange rate.](https://docs.rual.nl/canvas-examples/currency_rate.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
