# Ethereum

Ethereum real time methods follow the JSON-RPC specification and share the same endpoint, by protocol definition, the payload `method`parameter is the one used to know which method is the one to be called. To call this methods, is mandatory to specify the currency, `eth`  in this case and the network in which to executed  the request.  Bitcoin real time methods are exposed in the following endpoint `http://server/eth/{network}/ws`  where network has to be replace by the network name in which make the request

{% openapi src="<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>" path="/subscribeToAddressBalance" method="post" %}
<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>" path="/unsubscribeFromAddressBalance" method="post" %}
<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>" path="/subscribeToNewBlocks" method="post" %}
<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>" path="/unsubscribeFromNewBlocks" method="post" %}
<https://raw.githubusercontent.com/swapper-org/NodeChain-docs/staging/v1/eth/ws-nodechain-docs.json>
{% endopenapi %}
