ZeroXPriceResponse

data class ZeroXPriceResponse(val data: ZeroXPriceResponseData? = null, val error: String? = null)

Response model for ZeroX price request. Similar to quote response but without transaction data.

Parameters

data

The response data containing the raw response with price details.

error

Optional error message if the request failed.

Constructors

Link copied to clipboard
constructor(data: ZeroXPriceResponseData? = null, error: String? = null)

Properties

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