keypairBytes method

List<int> keypairBytes()

Retrieve the keypair bytes representing both the seed and public key.

Implementation

List<int> keypairBytes() {
  return [
    ..._privateKey.raw,
    ..._privateKey.publicKey.compressed
        .sublist(Ed25519KeysConst.pubKeyPrefix.length)
  ];
}