Fluxbeam Token Price
FluxBeam Token Price Tool (fluxbeam_token_price_tool)
fluxbeam_token_price_tool)Fetches the current price of a specified Solana token in USD, utilizing the FluxBeam API. Useful for quick price checks.
class FluxBeamTokenPriceInput(BaseModel):
token_address: str # The token address to check price on FluxBeamKey Functionality:
Retrieves the token's current price in USD from
data.fluxbeam.xyz.Formats the price to 5 decimal places for consistency.
Sample Usage Queries (How an AI might use it):
"What's the FluxBeam price for token
EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm?""Get the current price of
DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263from FluxBeam.""Fetch the FluxBeam USD price for
4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R.""Use FluxBeam to find the price of
HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3.""Check FluxBeam for the price of mint
token_mint_address_placeholder.""Price check
another_token_addressvia FluxBeam.""FluxBeam price for
contract_addr_here?"
class FluxBeamTokenPriceTool(BaseTool):
name: ClassVar[str] = "fluxbeam_token_price_tool"
description: ClassVar[str] = "Get the current price of a token in USD (USD) from FluxBeam."
args_schema: ClassVar[Type[BaseModel]] = FluxBeamTokenPriceInputImportant:
Primarily designed for asynchronous execution (
_arun). The synchronous version will return an informational message.Relies on the external
data.fluxbeam.xyzAPI; functionality and data accuracy depend on this third-party service.
Last updated