@alphafi/alphalend-sdk - v1.1.2
    Preparing search index...

    Interface Coin

    Interface defining the structure of a coin in the Sui ecosystem

    const suiCoin: Coin = {
    name: "SUI",
    type: "0x2::sui::SUI",
    icon: "https://coinmeta.polymedia.app/img/coins/0x0000000000000000000000000000000000000000000000000000000000000002-sui-SUI.svg",
    expo: 9
    };
    interface Coin {
        expo: number;
        icon: Icon;
        name: CoinName;
        type: CoinType;
    }
    Index

    Properties

    Properties

    expo: number

    Decimal places for the coin (e.g., 9 for SUI means 1 SUI = 10^9 base units)

    icon: Icon

    URL to the coin's icon image

    name: CoinName

    Display name of the coin

    type: CoinType

    Unique identifier of the coin on the Sui blockchain