Skip to main content
class: JordanPrice\Toolbox\Tools\Crypto\CryptoTool
env vars: None
source: GitHub

Prism Integration

Publish

Optionally, you can publish the configuration file to make modifications:

Methods

__invoke

Get cryptocurrency price information.

Parameters

  • coin (string): The cryptocurrency to get price for (e.g., BTC, ETH)
  • currency (string): The currency to show price in (e.g., USD, EUR). Default is USD.

Returns

  • string: Formatted price information