Type alias MulticallResult<Result, TAllowFailure>

MulticallResult<Result, TAllowFailure>: TAllowFailure extends true
    ? {
        error?: undefined;
        result: Result;
        status: "success";
    } | {
        error: Error;
        result?: undefined;
        status: "failure";
    }
    : Result

Type Parameters

  • Result

  • TAllowFailure extends boolean = true

Generated using TypeDoc