with ProProfs Knowledge Base and Bitquery?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_knowledge_base: {
type: "app",
app: "proprofs_knowledge_base",
}
},
async run({steps, $}) {
const data = {
"action": `gettoc`,
"api_key": `${this.proprofs_knowledge_base.$auth.api_key}`,
"node_id": `0`,
"type": `all`,
}
return await axios($, {
method: "post",
url: `https://www.helpdocsonline.com/proprofsapi/v1/`,
data,
})
},
})
The Bitquery API offers deep insights into blockchain data across multiple chains. With it, you can extract transaction details, smart contract interactions, and wallet addresses' behavior. When paired with Pipedream, you can automate blockchain-related tasks, create triggers based on on-chain events, or integrate blockchain data into other applications or services. Analyzing trends, monitoring wallets, and real-time alerting for transactions become seamless with Bitquery on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bitquery: {
type: "app",
app: "bitquery",
}
},
async run({steps, $}) {
const data = {
"query": `{
EVM(network: eth) {
Blocks(limit: { count: 10 }) {
Block {
Number
Time
}
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://streaming.bitquery.io/graphql`,
headers: {
Authorization: `Bearer ${this.bitquery.$auth.oauth_access_token}`,
},
data,
})
},
})