# secp256k1PointY

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / secp256k1PointY

# Function: secp256k1PointY()

```
function secp256k1PointY(pt): bigint;
```

The Compact builtin `secp256k1PointY` function

This function extracts the affine y-coordinate of a Compact `Secp256k1Point`.

## Parameters[​](#parameters "Direct link to Parameters")

### pt[​](#pt "Direct link to pt")

[`Secp256k1Point`](https://docs.midnight.network/api-reference/compact-runtime/interfaces/Secp256k1Point.md)

## Returns[​](#returns "Direct link to Returns")

`bigint`
