with ChainAware.ai and Jina Reader?
Conducts a comprehensive fraud check. See the documentation
Converts a provided URL to an LLM-friendly input using Jina Reader. 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: {
jina_reader: {
type: "app",
app: "jina_reader",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://r.jina.ai/https%3A%2F%2Fpipedream.com`,
headers: {
Authorization: `Bearer ${this.jina_reader.$auth.api_key}`,
},
})
},
})