• Fetch the identity public key for the current node.

    Parameters

    Returns Promise<{
        identity: Pubkey;
    }>

    Object containing the identity public key of the node

    const { identity } = await getIdentity(transport);
    console.log(`Node identity: ${identity}`);

    1.0.0