• Get the id of the current user (self).

    Returns string | undefined

    The user id, or undefined when the metatell host is not ready.

    Example

    import { getId } from "@urth/metatell-sdk/user";

    const userId = getId();