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

    Type Alias ApiPerpetualsAccountCollateralHistoryBody

    ApiPerpetualsAccountCollateralHistoryBody: ApiPerpetualsHistoricalDataWithCursorBody & {
        accountId: PerpetualsAccountId;
        authentication?: {
            bytes: string;
            signature: string;
            walletAddress: SuiAddress;
        };
        eventTypes?: UserHistoryEventType[];
    }

    Request body for fetching account collateral history with a cursor.

    Type Declaration

    • accountId: PerpetualsAccountId

      Account ID associated with the request.

    • Optionalauthentication?: { bytes: string; signature: string; walletAddress: SuiAddress }

      Optional wallet authentication data used to authorize the request.

      • bytes: string

        Serialized message bytes covered by signature.

      • signature: string

        Wallet signature over bytes from walletAddress.

      • walletAddress: SuiAddress

        Wallet address used to identify the signer or owner.

    • OptionaleventTypes?: UserHistoryEventType[]

      Optional filter restricting results to the specified event types.

      When omitted, the backend returns events of all types.