# listHeapEdges

`import { listHeapEdges } from "destack:runtime";`

List outgoing heap edges from one object.

```ds title="listHeapEdges"
export declare function listHeapEdges(view: WorldViewHandle, object: HeapObjectId, limit: uint32, afterOffset?: uint64 | undefined): Result<HeapEdgePage, HostError>
```

[language/library/src/runtime/heap.ds:95:100](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/heap.ds#L95-L100)
