with Rafflys and ChainAware.ai?
Conducts a comprehensive fraud check. See the documentation
Rafflys API provides tools to create and manage online raffles and contests, paving the way for engagement and promotional activities. Within Pipedream, you can leverage this API to build automations that enhance the way you run contests, connect with your audience, and analyze engagement data. By integrating Rafflys with other apps on Pipedream, you can craft workflows that streamline contest operations, notify winners, or even sync data with marketing platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rafflys: {
type: "app",
app: "rafflys",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app-sorteos.com/api/v2/users/me`,
headers: {
"X-API-KEY": `${this.rafflys.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chainaware_ai: {
type: "app",
app: "chainaware_ai",
}
},
async run({steps, $}) {
const data = {
"network": `ETH`,
//Enter a valid ETH wallet address below to test.
"walletAddress": `[Wallet Address]`,
"calculate": `true`,
}
return await axios($, {
method: "post",
url: `https://enterprise.api.chainaware.ai/fraud/check`,
headers: {
"x-api-key": `${this.chainaware_ai.$auth.api_key}`,
},
data,
})
},
})