YieldXyzPortalDependency

Lightweight interface for the Portal capabilities required by the high-level YieldXyz deposit/withdraw flow. The main Portal class implements this interface; tests can use a small mock. Mirrors the EvmAccountTypePortalDependency pattern.

Functions

Link copied to clipboard
abstract suspend fun getAddress(chainId: String): String?
Link copied to clipboard
abstract suspend fun getTransactionDetails(chain: String, signature: String): Result<GetTransactionDetailsResponse>
Link copied to clipboard
abstract suspend fun request(chainId: String, method: PortalRequestMethod, params: List<Any>, options: RequestOptions? = null): PortalProviderResult