toJSON method

Serialize this key to JSON.

Implementation

JsonableSecp256k1Identity toJSON() {
  return [blobToHex(_publicKey.toRaw()), blobToHex(_privateKey)];
}