with Alchemy and Beaconchain?
Emit new event when a new GraphQL query is uploaded to Alchemy's Custom Webhook service. See the documentation
Returns information for a specified epoch by the epoch number or an epoch tag (can be latest or finalized). See the documentation
Retrieve execution blocks by execution block number. See the documentation
Returns information for all validators up to 100 by index or public key. See the documentation
The Alchemy API provides a robust platform for sending and managing faxes programmatically, giving you the power to integrate fax capabilities into automated workflows. With Pipedream, you can tap into these capabilities to build event-driven serverless workflows. Automate the sending of faxes when certain triggers occur, receive status updates, and connect with countless other services to streamline document management, notifications, and data synchronization tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alchemy: {
type: "app",
app: "alchemy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.g.alchemy.com/prices/v1/${this.alchemy.$auth.api_key}/tokens/by-symbol?symbols=ETH`,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beaconchain: {
type: "app",
app: "beaconchain",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.beaconchain.$auth.url}/api/v1/slot/1`,
headers: {
"apikey": `${this.beaconchain.$auth.api_key}`,
},
})
},
})