ZeroXSourcesRequest

data class ZeroXSourcesRequest(val chainId: String, val zeroXApiKey: String? = null)

Request model for getting available swap sources from ZeroX.

Parameters

chainId

The blockchain identifier (e.g., "eip155:1" for Ethereum Mainnet).

zeroXApiKey

Optional ZeroX API key to override the Dashboard configuration.

Constructors

Link copied to clipboard
constructor(chainId: String, zeroXApiKey: String? = null)

Properties

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