# entryPointHash

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

[**@midnight/ledger v8.1.3**](https://docs.midnight.network/api-reference/ledger.md)

***

[@midnight/ledger](https://docs.midnight.network/api-reference/ledger/globals.md) / entryPointHash

# Function: entryPointHash()

```
function entryPointHash(entryPoint): string;
```

Computes the (hex-encoded) hash of a given contract entry point. Used in composable contracts to reference the called contract's entry point ID in-circuit.

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

### entryPoint[​](#entrypoint "Direct link to entryPoint")

`string` | `Uint8Array`<`ArrayBufferLike`>

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

`string`
