Skip to content

/AWS1/CL_MBCNODEETHEREUMATTRS

Attributes of an Ethereum node.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_httpendpoint TYPE /AWS1/MBCSTRING /AWS1/MBCSTRING

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.

iv_websocketendpoint TYPE /AWS1/MBCSTRING /AWS1/MBCSTRING

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.


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_HTTPENDPOINT() Getter for HTTPENDPOINT, with configurable default
ASK_HTTPENDPOINT() Getter for HTTPENDPOINT w/ exceptions if field has no value
HAS_HTTPENDPOINT() Determine if HTTPENDPOINT has a value

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.

Accessible with the following methods

Method Description
GET_WEBSOCKETENDPOINT() Getter for WEBSOCKETENDPOINT, with configurable default
ASK_WEBSOCKETENDPOINT() Getter for WEBSOCKETENDPOINT w/ exceptions if field has no v
HAS_WEBSOCKETENDPOINT() Determine if WEBSOCKETENDPOINT has a value