@btc-vision/ecpair - v4.0.2
Preparing search index...
assertPrivateKey
Function assertPrivateKey
assertPrivateKey
(
value
:
unknown
)
:
asserts
value
is
PrivateKey
Asserts that
value
is a valid
PrivateKey
(32 bytes, in
[1, n)
).
Parameters
value
:
unknown
Returns
asserts
value
is
PrivateKey
Throws
If the assertion fails.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@btc-vision/ecpair - v4.0.2
Loading...
Asserts that
valueis a valid PrivateKey (32 bytes, in[1, n)).