# secp256k1MulGenerator

> 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) / secp256k1MulGenerator

# Function: secp256k1MulGenerator()

```
function secp256k1MulGenerator(b): Secp256k1Point;
```

The Compact builtin `ecMulGenerator` function for secp256k1 points.

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

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

`bigint`

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

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