YieldActionTarget

sealed class YieldActionTarget

Identifies the yield to act on for a high-level deposit/withdraw.

  • ByYieldId: an explicit yield identifier (skips the defaults lookup).

  • ByChainAndToken: a full CAIP-2 chain (e.g. eip155:1) plus a token symbol (e.g. USDC); the SDK resolves the yieldId from the Portal yield defaults.

Inheritors

Types

Link copied to clipboard
data class ByChainAndToken(val chain: String, val token: String) : YieldActionTarget
Link copied to clipboard
data class ByYieldId(val yieldId: String) : YieldActionTarget