getSources

open suspend fun getSources(chainId: String, swapsApiKey: String): Result<Map<String, String>>

Retrieves the available sources for swap transactions on the specified blockchain.

Return

A Result containing a map of source names and their identifiers.

Parameters

chainId

The blockchain identifier.

swapsApiKey

The API key required for swaps.