postApiV1PreprocessorsCryptoPrices
postApiV1PreprocessorsCryptoPrices<
ThrowOnError>(options:Options<PostApiV1PreprocessorsCryptoPricesData,ThrowOnError>):RequestResult<PostApiV1PreprocessorsCryptoPricesResponses,PostApiV1PreprocessorsCryptoPricesErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1297Â
Get crypto prices
Extracts ticker candidates (cashtags, uppercase symbols, lowercase names) from the supplied prompt, resolves them against CoinGecko, and returns USD quotes. Used by SDK pre-processors to enrich prompts with crypto market data.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1PreprocessorsCryptoPricesResponses, PostApiV1PreprocessorsCryptoPricesErrors, ThrowOnError>
Last updated on