Skip to Content
Anuma SDKClientInternalFunctionspostApiV1PreprocessorsCryptoPrices

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 ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1PreprocessorsCryptoPricesData, ThrowOnError>

Returns

RequestResult<PostApiV1PreprocessorsCryptoPricesResponses, PostApiV1PreprocessorsCryptoPricesErrors, ThrowOnError>

Last updated on