Skip to main content

probeNodeIdentity

@hardkas/core


@hardkas/core / probeNodeIdentity

Function: probeNodeIdentity()

probeNodeIdentity(input): Promise<NodeIdentityRecord>

Defined in: packages/core/src/node-identity.ts:204

Probes Docker and the node, then evaluates. The RPC query is injected so this package needs no RPC client; @hardkas/node-runner wires a real one.

Parameters​

input​

expected?​

NodeIdentityExpectation

getServerInfo​

(url) => Promise<{ isSynced?: boolean; networkId: string; serverVersion: string; }>

Returns​

Promise<NodeIdentityRecord>