Creates Service instance
The settings for the service
Requests a query to the configured chain node
The method according https://europe.signum.network/api-doc/
A JSON object which will be mapped to url params
The optional request configuration for the passed Http client (default is AxiosRequestConfig )
The response data of success
Automatically selects the best host, according to its response time, i.e. the fastest node host will be returned (and set as nodeHost internally)
An optional flag to set automatic reconfiguration. Default is false
Attention: Reconfiguration works only, if you use the default http client. Otherwise, you need to reconfigure manually!
The optional API method to be called. This applies only for GET methods. Default is getBlockchainStatus
Send data to chain node
The method according https://europe.signum.network/api-doc/. Note that there are only a few POST methods
A JSON object which will be mapped to url params
An object with key value pairs to submit as post body
The optional request configuration for the passed Http client (default is AxiosRequestConfig )
The response data of success
Mounts an API conformant endpoint of format <host>?requestType=getBlock&height=123
The method name for requestType
A JSON object which will be mapped to url params
The mounted url (without host)
Generic Chain Service class.
This class can be used to call the chain api directly, in case a function is not supported yet by SignumJS. Usually, you won't need to do it.