Open Source Ethereum explorer
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.
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}`,
},
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.