with ChainAware.ai and Robopost?
Conducts a comprehensive fraud check. See the documentation
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
robopost: {
type: "app",
app: "robopost",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.robopost.app/v1/video-series`,
params: {
apikey: `${this.robopost.$auth.api_key}`,
search_text: `educational`,
limit: `10`,
},
})
},
})