NativeCoin

@Serializable
@SerialName(value = "native_coin")
data class NativeCoin(val network: Network, val contract: String? = null) : Asset

Represents a native blockchain coin (e.g., ETH, BTC).

Native coins are the base currency of a blockchain network and don't have a contract address. They are used for paying transaction fees and can be transferred directly without interacting with smart contracts.

See also

Constructors

Link copied to clipboard
constructor(network: Network, contract: String? = null)

Properties

Link copied to clipboard
open override val contract: String?

Always null for native coins

Link copied to clipboard
open override val network: Network

The blockchain network this coin belongs to