Constructors
constructor
- new Secp256k1Signature(r: Uint8Array, s: Uint8Array): Secp256k1Signature
-
Parameters
-
r: Uint8Array
-
s: Uint8Array
Methods
r
- r(length?: number): Uint8Array
-
Returns Uint8Array
s
- s(length?: number): Uint8Array
-
Returns Uint8Array
toDer
- toDer(): Uint8Array
-
Returns Uint8Array
toFixedLength
- toFixedLength(): Uint8Array
-
Returns Uint8Array
Takes the pair of integers (r, s) as 2x32 byte of binary data.
Note: This is the format Cosmos SDK uses natively.