Skip to main content

E0037: Unknown Import Function

You tried to import a function that doesn't exist in the specified interface.

Example

import { nonexistent } from starstream:std/cardano;  // Error: unknown function `nonexistent` in `starstream:std/cardano`

How to fix

Check that the function name is spelled correctly and exists in the interface:

import { blockHeight } from starstream:std/cardano;  // OK - valid function