LifiGasCost

data class LifiGasCost(val type: LifiGasCostType, val amount: String, val token: LifiToken, val price: String? = null, val estimate: String? = null, val limit: String? = null, val amountUSD: String? = null)

Gas cost information

Constructors

Link copied to clipboard
constructor(type: LifiGasCostType, amount: String, token: LifiToken, price: String? = null, estimate: String? = null, limit: String? = null, amountUSD: String? = null)

Properties

Link copied to clipboard

Amount of the gas cost

Link copied to clipboard
val amountUSD: String? = null

Amount of the gas cost in USD

Link copied to clipboard
val estimate: String? = null

Estimation how much gas will be needed

Link copied to clipboard
val limit: String? = null

Suggested gas limit

Link copied to clipboard
val price: String? = null

Suggested current standard price for the chain

Link copied to clipboard

The used gas token

Link copied to clipboard

Can be one of SUM, APPROVE or SEND