Invocation |
web3.abi(name) |
Parameter |
Type |
Description |
name |
String |
|
Returned type |
Description |
String |
|
{% tabs %}
{% tab title="Example request of web3.abi" %}
{% endtab %}
{% endtabs %}
Returns the current client version.
Invocation |
web3.clientVersion |
This method doesn't have parameters. |
Returned type |
Description |
String |
|
{% tabs %}
{% tab title="Example request of web3.clientVersion" %}
{% endtab %}
{% endtabs %}
See also JSON RPC web3_clientVersion
Returns Keccak of the given data.
Invocation |
web3.sha3(data) |
Parameter |
Type |
Description |
data |
Data |
|
Returned type |
Description |
Hash |
|
{% tabs %}
{% tab title="Example request of web3.sha3" %}
{% endtab %}
{% endtabs %}
See also JSON RPC web3_sha3
Invocation |
web3.toDecimal(hex) |
Parameter |
Type |
Description |
hex |
String |
|
Returned type |
Description |
JavaScript Object |
|
{% tabs %}
{% tab title="Example request of web3.toDecimal" %}
{% endtab %}
{% endtabs %}