Function: memoGet
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / memoGet
Function: memoGet()
function memoGet(
memoData,
offerId,
title,
publisherHandle,
remainingConversions?,
imageUrl?,
description?,
userRewardType?,
userRewardToken?,
userRewardAmount?,
raffleRewardType?,
raffleRewardToken?,
raffleRewardAmount?): Promise<ActionGetResponse>Parameters
memoData
object
-
memoData.fields
({ description: null | string; image: null | string; label: null | string; name: string; } & { type: "string"; validation: { match: null | string; required: null | boolean; }; } | { description: null | string; image: null | string; label: null | string; name: string; } & { type: "number"; validation: { max: null | number; min: null | number; }; } | { description: null | string; image: null | string; label: null | string; name: string; } & { type: "boolean"; validation: { match: null | boolean; }; })[]
The fields to collect from the user
offerId
string
-
title
string
-
publisherHandle
string
-
remainingConversions?
number
-
imageUrl?
string
-
description?
string
-
userRewardType?
string
-
userRewardToken?
string
-
userRewardAmount?
number
-
raffleRewardType?
string
-
raffleRewardToken?
string
-
raffleRewardAmount?
number
-
Returns
Promise<ActionGetResponse>
Defined in
Last updated