Typeberry by Fluffy Labs - v0.5.0
    Preparing search index...

    Interface Service

    Service details.

    interface Service {
        serviceId: number & WithBytesRepresentation<4> & WithOpaque<
            "ServiceId[u32]",
        >;
        getInfo(): ServiceAccountInfo;
        getLookupHistory(
            hash: Blake2bHash & WithOpaque<"PreimageHash">,
            len: U32,
        ):
            | readonly (
                number & WithBytesRepresentation<4> & WithOpaque<"TimeSlot[u32]">
            )[] & WithOpaque<"0-3 timeslots">
            | null;
        getPreimage(
            hash: Blake2bHash & WithOpaque<"PreimageHash">,
        ): BytesBlob | null;
        getStorage(
            storage: BytesBlob & WithOpaque<"storage key">,
        ): BytesBlob | null;
        hasPreimage(hash: Blake2bHash & WithOpaque<"PreimageHash">): boolean;
    }

    Implemented by

    Index

    Properties

    serviceId: number & WithBytesRepresentation<4> & WithOpaque<"ServiceId[u32]">

    Service id.

    Methods