ZeroXTransaction

data class ZeroXTransaction(val data: String, val from: String, val gas: String, val gasPrice: String, val to: String, val value: String)

Transaction data for executing a swap.

Parameters

data

The transaction data (calldata).

from

The sender address.

gas

The gas limit.

gasPrice

The gas price.

to

The contract address to call.

value

The ETH value to send.

Constructors

Link copied to clipboard
constructor(data: String, from: String, gas: String, gasPrice: String, to: String, value: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val gas: String
Link copied to clipboard
Link copied to clipboard
val to: String
Link copied to clipboard