with Etherscan and Beaconstac?
The Etherscan API provides a lens into the Ethereum blockchain, allowing you to query for transaction details, wallet balances, smart contract events, and more. By bringing Etherscan into Pipedream's serverless integration platform, you can automate interactions with Ethereum data, create event-driven workflows, and connect blockchain insights to hundreds of other apps without a line of backend code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ethereum: {
type: "app",
app: "ethereum",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.etherscan.io/api`,
params: {
module: `stats`,
action: `ethsupply`,
apikey: `${this.ethereum.$auth.api_token}`,
},
})
},
})
The Beaconstac API allows you to leverage proximity marketing through beacon and QR code technology. By integrating with Beaconstac, you can automate the creation and management of QR codes and beacons, track analytics, and engage users based on location. This aligns perfectly with Pipedream's capabilities, where you can create complex workflows to connect Beaconstac with other apps for efficient, real-time automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beaconstac: {
type: "app",
app: "beaconstac",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.beaconstac.com/api/2.0/qrcodes/`,
headers: {
"Authorization": `Token ${this.beaconstac.$auth.api_key}`,
},
})
},
})