lib/apiclient.js
function ApiClient(endpoint) {
    if (endpoint.length > 0 && endpoint.slice(-1) != "/") {
        endpoint += "/";
    }
    
    this.endpoint = endpoint;
    this.namespace = null;
}
function ApiClient(endpoint) {
    if (endpoint.length > 0 && endpoint.slice(-1) != "/") {
        endpoint += "/";
    }
    
    this.endpoint = endpoint;
    this.namespace = null;
}
function ApiClient ( endpoint ) { if ( endpoint . length > 0 && endpoint . slice ( - 1 ) != "/" ) { endpoint += "/" ; } this . endpoint = endpoint ; this . namespace = null ; }
Represents an Openchain client bound to a specific Openchain endpoint.

@constructor
@param {string} endpoint The base URL of the endpoint.
Represents an Openchain client bound to a specific Openchain endpoint .