Skip to main content

isValidSecp256k1Point

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / isValidSecp256k1Point

Function: isValidSecp256k1Point()

function isValidSecp256k1Point(p): p is Secp256k1Point;

Check whether a value is a valid Secp256k1Point: an object whose x and y are bigints in the base field and whose identity is a boolean. A point that is not the identity must also lie on the curve.

Parameters​

p​

unknown

Returns​

p is Secp256k1Point