Function composeApi

  • Composes the API, i.e. setup the environment and mounts the API structure with its functions.

    const api = composeApi(new ApiSettings('https://europe.signum.network')), // one of the mainnet nodes
    

    Note, that this method mounts the entire API, i.e. all available methods. One may also customize the API composition using ApiComposer.

    Parameters

    Returns Api

    The complete API