albis.echo - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki
albis.echo([data], albisToken) ⇒ ResponseEcho
echo(data, albisToken)
Kind: instance method of Albis
Returns: ResponseEcho - response object
| Param | Type | Description |
|---|---|---|
| [data] | string |
random string (optional) |
| albisToken | Object |
object with Albis token, which lets to communicate with Albis API |
Example
Albis.echo("Hello World", { token: '1234' })Kind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| response.id | string |
json rpc lib id |
| response.jsonrpc | string |
json rpc version number ("2.0") |
| response.result | string |
data input string (or default "Test") |