Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Utils

Utils is an API module for various Textile node utilities

extends

API

Hierarchy

  • API
    • Utils

Index

Constructors

Methods

Constructors

constructor

Methods

online

  • online(): Promise<boolean>
  • Check whether the underlying node's API is online

    Returns Promise<boolean>

    Whether the API is online

ping

  • ping(id: string): Promise<string>
  • Pings another peer on the network, returning wherther they are online or offline.

    Parameters

    • id: string

      The peer id

    Returns Promise<string>

    Whether the peer is online

summary

version

  • Get the current node's API, and application versions

    Returns Promise<Versions>

    Version of Cafe API and node binary release