Function parseSince

  • Parse since and get relative or not, type, and value of since

    Parameters

    • since: string

    Returns {
        relative: boolean;
        type: "epochNumber";
        value: since.EpochSinceValue;
    } | {
        relative: boolean;
        type: "blockNumber" | "blockTimestamp";
        value: bigint;
    }

Generated using TypeDoc