Interface NodeEthereumAttributes.Builder

    • Method Detail

      • httpEndpoint

        NodeEthereumAttributes.Builder httpEndpoint​(String httpEndpoint)

        The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.

        Parameters:
        httpEndpoint - The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • webSocketEndpoint

        NodeEthereumAttributes.Builder webSocketEndpoint​(String webSocketEndpoint)

        The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.

        Parameters:
        webSocketEndpoint - The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.