Companion

object Companion

Functions

Link copied to clipboard
fun create(chainId: String, buyToken: String, sellToken: String, sellAmount: String, txOrigin: String? = null, swapFeeRecipient: String? = null, swapFeeBps: Int? = null, swapFeeToken: String? = null, tradeSurplusRecipient: String? = null, gasPrice: String? = null, slippageBps: Int? = null, excludedSources: String? = null, sellEntireBalance: Boolean? = null): ZeroXPriceRequest

Factory method to create a ZeroXPriceRequest with Boolean to String conversion for sellEntireBalance.