Call non-implemented query function
SignumJS wraps most functions in a very thin wrapper function to reduce code complexity as much as possible. But it may happen that a function supported by the Node HTTP API is not available in SignumJS yet. To not depend on ongoing development by the SignumJS maintainers one can use the leaky abstraction layer to run your query.
Let's assume that the method getAccount was not implemented. Then one can/need to use the internal service instance and use the query function. These functions mount the required HTTP requests as required by the Node HTTP API.
This way it is possible to call all available Node API Endpoints even if they are not directly supported by SignumJS. Just set the correct method name, and pass a JSON with the field names according to the API specification.
ledger.service.query allows you to make HTTP GET requests to Node API Endpoints
ledger.service.sendallows you to make HTTP POST requests to Node API Endpoints