rBytes property

List<int> get rBytes

Gets the byte representation of the 'r' component of an Ethereum signature.

The 'r' component represents the x-coordinate of the elliptic curve point generated during the signature process. The bytes are obtained by converting the 'r' component BigInt to a byte list with a specified length.

Returns:

  • A List of integers representing the byte representation of 'r'.

Implementation

List<int> get rBytes =>
    BigintUtils.toBytes(r, length: ETHSignerConst.digestLength);