GET Contract Match

https://pd.{shard}.a.pvp.net/contracts/v1/players/{puuid}/matches/{match id}

Get the contract, mission, XP, Kingdom Credits and reward progress a player earned from a specific match

Headers

URL Parameters

Other Variables

Response

type ContractMatchResponse = {
    /** Match ID */
    ID: string;
    /** Time the match was processed by the contracts service */
    CreatedAt: string;
    /** Milliseconds since epoch */
    StartTime: number;
    XPGrants: {
        GamePlayed: number;
        GameWon: number;
        /** XP granted for rounds played */
        RoundPlayed: number;
        /** XP granted for rounds won */
        RoundWon: number;
        Missions: {
            [x: string]: number;
        } | null;
        Modifier: {
            Value: number;
            BaseMultiplierValue: number;
            Modifiers: {
                Value: number;
                /** Known values: RESTRICTIONS_XP, PREMIUM_CONTRACT_XP, SOCIAL_XP (bonus for playing with a premade party) */
                Name: string;
                BaseOnly: boolean;
            }[];
        };
        NumAFKRounds: number;
    } | null;
    /** Kingdom Credits ("Dough" internally) granted for the match */
    DoughGrants: {
        GamePlayed: number;
        /** Kingdom Credits granted for rounds played */
        RoundPlayed: number;
        /** Kingdom Credits granted for rounds won */
        RoundWon: number;
    } | null;
    /** Rewards unlocked by contract level-ups from this match, keyed by contract ID */
    RewardGrants: {
        [x: string]: {
            EntitlementRewards: {
                /** Item Type ID */
                ItemTypeID: string;
                /** Item ID */
                ItemID: string;
                Amount: number;
            }[] | null;
            ItemRewards: unknown[] | null;
            WalletRewards: {
                /** Currency ID */
                CurrencyID: string;
                Amount: number;
            }[] | null;
            CounterRewards: unknown[] | null;
            ProgressionRewards: unknown[] | null;
        };
    } | null;
    MissionDeltas: {
        [x: string]: {
            /** Mission ID */
            ID: string;
            Objectives: {
                [x: string]: number;
            };
            ObjectiveDeltas: {
                [x: string]: {
                    /** Objective ID */
                    ID: string;
                    ProgressBefore: number;
                    ProgressAfter: number;
                };
            };
        };
    } | null;
    ContractDeltas: {
        [x: string]: {
            /** Contract ID */
            ID: string;
            TotalXPBefore: number;
            TotalXPAfter: number;
        };
    } | null;
    CouldProgressMissions: boolean;
    MatchSummary: {
        RoundsTotal: number;
        RoundsWon: number;
    };
    /** Unknown deterministic (UUIDv5) ID */
    XID: string;
};