All the tools you need to build, test, and deploy on Algorand (the high performance Layer-1 blockchain), now available in a single, simple portal.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Algorand Developer Portal API allows you to interact with the Algorand blockchain, performing operations like checking account balances, creating transactions, and reading the current state of the blockchain. When used within Pipedream, you can automate workflows that respond to real-time events on the blockchain, integrate with other APIs for cross-platform actions, or analyze blockchain data to inform business decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
algorand_developer_portal: {
type: "app",
app: "algorand_developer_portal",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.algorand_developer_portal.$auth.url}/genesis`,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})