get_current_price
Fetch the current price of a USD-pegged stablecoin and calculate its peg deviation. Input the stablecoin symbol (e.g., 'usdt', 'usdc') to receive a Markdown-formatted response with price and deviation details.
Instructions
Fetch the current price of a USD-pegged stablecoin in USD and calculate peg deviation.
Args:
coin (str): The symbol of the stablecoin (e.g., 'usdt', 'usdc', 'dai').
Returns:
str: A string with the current price and peg deviation in Markdown format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coin | Yes |
Input Schema (JSON Schema)
{
"properties": {
"coin": {
"title": "Coin",
"type": "string"
}
},
"required": [
"coin"
],
"title": "get_current_priceArguments",
"type": "object"
}