SW Combine SDK
    Preparing search index...

    Character credit log resource

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Get character's credit log (paginated)

      @requires_auth Yes @requires_scope CHARACTER_CREDITS

      Parameters

      • options: GetCharacterCreditlogOptions

        Character UID and optional pagination/filtering parameters

        • Optionalitem_count?: number

          Number of items to retrieve. Default: 50, Max: 1000

        • Optionalstart_id?: number

          Oldest transaction ID threshold (1 = oldest 1000, 0/default = newest 1000)

        • Optionalstart_index?: number

          Starting position for pagination (1-based). Default: 1

        • uid: string

      Returns Promise<CreditLogEntry[]>

      const creditlog = await client.character.creditlog.list({ uid: '1:12345' });
      const moreLogs = await client.character.creditlog.list({ uid: '1:12345', start_index: 51, item_count: 100 });
      const oldestLogs = await client.character.creditlog.list({ uid: '1:12345', start_id: 1 });
      // Fetch up to 1000 credit log entries at once
      const manyLogs = await client.character.creditlog.list({ uid: '1:12345', item_count: 1000 });