Skip to content

Latest commit

 

History

History
134 lines (100 loc) · 1.85 KB

node.md

File metadata and controls

134 lines (100 loc) · 1.85 KB

Node module

node.address

Invocation
node.address
This method doesn't have parameters.
Returned type Description
String

{% tabs %} {% tab title="Example request of node.address" %}

node.address

{% endtab %} {% endtabs %}

node.enode

Invocation
node.enode
This method doesn't have parameters.
Returned type Description
String

{% tabs %} {% tab title="Example request of node.enode" %}

node.enode

{% endtab %} {% endtabs %}

node.setNodeKey

Invocation
node.setNodeKey(key)
Parameter Type Description
key String
Returned type Description
String

{% tabs %} {% tab title="Example request of node.setNodeKey" %}

node.setNodeKey(key)

{% endtab %} {% endtabs %}

node.switch

Invocation
node.switch(uri)
Parameter Type Description
uri String
Returned type Description
String

{% tabs %} {% tab title="Example request of node.switch" %}

node.switch(uri)

{% endtab %} {% endtabs %}

node.switchLocal

Invocation
node.switchLocal(uri)
Parameter Type Description
uri String
Returned type Description
String

{% tabs %} {% tab title="Example request of node.switchLocal" %}

node.switchLocal(uri)

{% endtab %} {% endtabs %}

node.uri

Invocation
node.uri
This method doesn't have parameters.
Returned type Description
JavaScript Object

{% tabs %} {% tab title="Example request of node.uri" %}

node.uri

{% endtab %} {% endtabs %}