rpc
) or WebSocket (ws
) interfaces will give everyone access to the APIs who can access this interface (DApps, browser tabs, etc). Be careful about which APIs you enable. By defaulti, Klaytn enables all APIs over the IPC (ipc
) interface but for rpc
and ws
required modules have to be explicitly enabled.--${interface}api
command-line argument where ${interface}
can be rpc
for the HTTP endpoint or ws
for the WebSocket endpoint.ipc
offers all APIs over the unix socket (Unix) or named pipe (Windows) endpoint without any flag.klay
and net
modules enabled:--rpc
flag.modules
JSON-RPC method can be invoked. For example over an rpc
interface: