Offers powerful automated tools and valuable analytics to improve your mining operation.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
minerstat: {
type: "app",
app: "minerstat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.minerstat.com/v2/worker`,
headers: {
Authorization: `Bearer ${this.minerstat.$auth.api_token}`,
"Accept": `application/json`,
},
params: {
name: `Apollo`,
},
})
},
})
Minerstat uses API keys for authentication. When you connect your Minerstat account, Pipedream securely stores the keys so you can easily authenticate to Minerstat APIs in both code and no-code steps.
To retrieve your API token,