with NiftyKit and Formatting?
Emit new event when a new NFT is minted in NiftyKit. See the documentation
The NiftyKit API offers a platform to create, sell, and manage digital collectibles on the blockchain. Users can mint non-fungible tokens (NFTs), set up drop campaigns, and handle various aspects of the NFT lifecycle. Integrating NiftyKit with Pipedream enables users to automate workflows related to NFTs, like minting in response to events, updating listings based on market conditions, or synchronizing NFT ownership data with other databases.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
niftykit: {
type: "app",
app: "niftykit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.niftykit.com/v3/collections/reveal`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.niftykit.$auth.api_access_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})