View as Markdown
Venly (NFT API) icon

Venly (NFT API) ACTION

Create and Mint NFT

Creates a template or token type that allows for minting of new NFTs. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Venly (NFT API) account once, then configure and run Create and Mint NFT from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "venly-create-mint-nft",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    venly: { authProvisionId: "apn_xxxxxxx" },
    contractId: 10,
    fungible: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create and Mint NFT inputs
Property Type Description
contractId Contract ID integer
Select a Contract or provide a custom Contract ID.
Required Dynamic
fungible Fungible boolean
Determines if the NFTs from this template will be minted as fungible/non fungible. Defaults to false.
Optional
burnable Burnable boolean
Determines if the NFTs from this template will be burnable. Defaults to false.
Optional
name Name string
Name of the NFTs that will be created from this template
Required
description Description string
Description of the NFTs that will be created from this template
Optional
image Image string
Image of the NFTs that will be created from this template
Optional
externalUrl External URL string
External URL of the NFTs that will be created from this template
Optional
backgroundColor Background Color string
Background color of the NFTs that will be created from this template
Optional
animationUrls Animation URLs string[]
Each item should be a JSON string or object. Example: { "type": "type of the animation media", "value": "URL of the animation media" }
Optional
maxSupply Max Supply integer
Max Supply for NFTs created by this template
Optional
attributes Attributes string[]
Each item should be a JSON string or object. Example: { "type": "property|stat|boost|system", "name": "Name of the attribute", "value": "Value of the attribute", "maxValue": "Max value of the attribute" }
Optional
destinations Destinations string[]
Each item should be a JSON string or object. Example: { "address": "Address of the destination wallet where minted tokens will be sent", "amount": "[int] Amount of tokens to be minted and sent to specified wallet address" }
Optional
storageType Storage Type string
This object holds the storage details for the metadata of the item being created
Optional
storageLocation Storage Location string
Location of the NFT metadata. This property is mandatory only if Storage Type is set to custom
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
venly-create-mint-nft
Version
0.0.2
App
Venly (NFT API)
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes