aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Converts raw farm object and event responses into the SDK's normalized farm types.

    V1 casters read direct parsedJson or legacy object fields. V2 event casters read the payload under parsedJson.pos0. Numeric strings are converted to bigint for balances and fixed-point multipliers, or to number for millisecond timestamps.

    import { Casting, type SuiObjectView } from "aftermath-ts-sdk";

    declare const response: SuiObjectView;
    const position = Casting.farms.partialStakedPositionObjectFromSuiObjectResponseV2(
    response,
    );
    Index