Binance Web3 Connector JS
    Preparing search index...

    Request parameters for listDeFiProtocols operation in DefiDataApi. ListDeFiProtocolsRequest

    interface ListDeFiProtocolsRequest {
        binanceChainId?: string;
        investType?: ListDeFiProtocolsInvestTypeEnum;
        nonce?: string;
        page?: number;
        recvWindow?: number | bigint;
        size?: number;
        sortDirection?: ListDeFiProtocolsSortDirectionEnum;
        sortField?: string;
    }
    Index
    binanceChainId?: string

    One of the supported chains — see Supported Chains & Protocols for the supported chain ID values. Chains outside this whitelist are rejected with 40001. When omitted (or blank), results span all supported chains.

    DefiDataApiListDeFiProtocols

    Filter by investment type. Known values: Earn, LiquidityPool.

    DefiDataApiListDeFiProtocols

    nonce?: string

    Unique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.

    DefiDataApiListDeFiProtocols

    page?: number

    Page number (1-based).

    DefiDataApiListDeFiProtocols

    recvWindow?: number | bigint

    Allowed time deviation in milliseconds (default: 5000, max: 60000).

    DefiDataApiListDeFiProtocols

    size?: number

    Page size. Max: 200.

    DefiDataApiListDeFiProtocols

    Sort direction.

    DefiDataApiListDeFiProtocols

    sortField?: string

    Field to sort by. Only two values are accepted: tvl, apy. Note: sorting by APY uses apy (the server-side field name), even though the response exposes apyBps / apyDisplay. Other values are not supported.

    DefiDataApiListDeFiProtocols