web3-utilsFunctionsisValidPrivateisValidPrivate CallableisValidPrivate(privateKey: Buffer): booleanChecks if the private key satisfies the rules of the curve secp256k1.ParametersprivateKey: BufferReturns boolean
Checks if the private key satisfies the rules of the curve secp256k1.