YieldXyzGetDefaultsResponse

data class YieldXyzGetDefaultsResponse(val data: Map<String, YieldXyzDefaultYieldEntry>? = null, val error: String? = null)

Response from the Portal yield defaults endpoint.

The payload maps a "{caip2}:{TOKEN}" key (e.g. "eip155:1:USDC") to the default yield configured for that chain + token. Unlike most Yield.xyz endpoints, this payload is NOT wrapped in rawResponse; the map lives directly under data.

Constructors

Link copied to clipboard
constructor(data: Map<String, YieldXyzDefaultYieldEntry>? = null, error: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val error: String? = null