method ApiMethods.getUserGifts
ApiMethods.getUserGifts(args: { user_id: number; exclude_unlimited?: boolean; exclude_limited_upgradable?: boolean; exclude_limited_non_upgradable?: boolean; exclude_from_blockchain?: boolean; exclude_unique?: boolean; sort_by_price?: boolean; offset?: string; limit?: number; }): OwnedGifts

Returns the gifts owned and hosted by a user. Returns OwnedGifts on success.

Parameters

args: { user_id: number; exclude_unlimited?: boolean; exclude_limited_upgradable?: boolean; exclude_limited_non_upgradable?: boolean; exclude_from_blockchain?: boolean; exclude_unique?: boolean; sort_by_price?: boolean; offset?: string; limit?: number; }

Return Type

Usage

import { type ApiMethods } from "types";