lib-base.frontendstatus

Home > @mosaic/lib-base > FrontendStatus

FrontendStatus type

Represents whether an address has been registered as a Mosaic frontend.

Signature:

export declare type FrontendStatus = {
    status: "unregistered";
} | {
    status: "registered";
    kickbackRate: Decimal;
};

References: Decimal

Remarks

Returned by the getFrontendStatus() function.

When status is "registered", kickbackRate gives the frontend's kickback rate as a Decimal between 0 and 1.

Last updated