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

    Interface Service

    Service details.

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

    Implemented by

    Index

    Properties

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

    Service id.

    Methods