Package nxt.http

Class GetInboundPeers


  • public final class GetInboundPeers
    extends APIServlet.APIRequestHandler

    The GetInboundPeers API will return a list of inbound peers. An inbound peer is a peer that has sent a request to this peer within the previous 30 minutes.

    Request parameters:

    • includePeerInfo - Specify 'true' to include the peer information or 'false' to include just the peer address. The default is 'false'.

    Response parameters:

    • peers - An array of peers

    Error Response parameters:

    • errorCode - API error code
    • errorDescription - API error description