Binance Web3 Connector JS
    Preparing search index...

    Interface GetAddressPnLForSpecificTokenResponseData

    Token latest PnL details.

    GetAddressPnLForSpecificTokenResponseData

    interface GetAddressPnLForSpecificTokenResponseData {
        buyAmount?: string;
        buyAvgPrice?: string;
        buyTxCount?: string;
        buyTxVolume?: string;
        holdingDuration?: string;
        isPnlSupported?: boolean;
        maxBalanceAmount?: string;
        realizedPnlPercent?: string;
        realizedPnlUsd?: string;
        sellAmount?: string;
        sellAvgPrice?: string;
        sellTxCount?: string;
        sellTxVolume?: string;
        tokenBalanceAmount?: string;
        tokenBalanceUsd?: string;
    }
    Index
    buyAmount?: string

    Cumulative buy quantity (token units).

    GetAddressPnLForSpecificTokenResponseData

    buyAvgPrice?: string

    Average buy price, denominated in USD.

    GetAddressPnLForSpecificTokenResponseData

    buyTxCount?: string

    Number of buy transactions.

    GetAddressPnLForSpecificTokenResponseData

    buyTxVolume?: string

    Cumulative buy spend for this token, denominated in USD.

    GetAddressPnLForSpecificTokenResponseData

    holdingDuration?: string

    Cumulative holding duration in milliseconds. Counts only actual holding periods; gaps between sell and re-buy are excluded. If still holding, counts up to the current time.

    GetAddressPnLForSpecificTokenResponseData

    isPnlSupported?: boolean

    Whether PnL calculation is meaningful for this token. true=supported; false=not supported. Returns false for stablecoins (USDT/USDC/DAI etc.), native tokens (ETH/BNB/SOL etc.), and wrapped tokens (WETH/WBNB/WSOL etc.). Returns true for regular trading tokens.

    GetAddressPnLForSpecificTokenResponseData

    maxBalanceAmount?: string

    Maximum historical holding amount (token units).

    GetAddressPnLForSpecificTokenResponseData

    realizedPnlPercent?: string

    Realized PnL percentage. No percent sign included.

    GetAddressPnLForSpecificTokenResponseData

    realizedPnlUsd?: string

    Cumulative realized PnL for this token, denominated in USD. Positive means profit, negative means loss.

    GetAddressPnLForSpecificTokenResponseData

    sellAmount?: string

    Cumulative sell quantity (token units).

    GetAddressPnLForSpecificTokenResponseData

    sellAvgPrice?: string

    Average sell price, denominated in USD.

    GetAddressPnLForSpecificTokenResponseData

    sellTxCount?: string

    Number of sell transactions.

    GetAddressPnLForSpecificTokenResponseData

    sellTxVolume?: string

    Cumulative sell proceeds for this token, denominated in USD.

    GetAddressPnLForSpecificTokenResponseData

    tokenBalanceAmount?: string

    Current holding amount (token units). Returns "0" when fully sold.

    GetAddressPnLForSpecificTokenResponseData

    tokenBalanceUsd?: string

    Current market value of the address's holding in this token, denominated in USD. Returns "0" when fully sold.

    GetAddressPnLForSpecificTokenResponseData