get_exchange_rate
Retrieve current Bitcoin exchange rates from BTCPay's rate provider for currency pairs like BTC_USD or BTC_EUR to support payment processing and financial calculations.
Instructions
Get the current BTCPay exchange rate for a currency pair.
Args: currency_pair: Currency pair in format 'BTC_USD', 'BTC_EUR', etc. Default: 'BTC_USD'.
Returns the current exchange rate from BTCPay's configured rate provider.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency_pair | No | BTC_USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |