Fetch the identity public key for the current node.
HTTP transport instance
Additional call options
Object containing the identity public key of the node
const { identity } = await getIdentity(transport);console.log(`Node identity: ${identity}`); Copy
const { identity } = await getIdentity(transport);console.log(`Node identity: ${identity}`);
1.0.0
Fetch the identity public key for the current node.