pubKey abstract method

Future<PublicKey?> pubKey(
  1. PeerId id
)

PubKey returns the public key of a peer.

Implementation

Future<PublicKey?> pubKey(PeerId id);