4

Is there any API I can use which can be used without the need for onchain programs?

3 Answers 3

2

There are multiple tooling options to get this data. I like to use Crossmint NFT Mint API Add-on on QuickNode Marketplace as it let's me use all the other blockchain tools under one dashboard.

Here's a JavaScript example:


                    const axios = require("axios");
(() => {
  const config = {
    headers: {
      "Content-Type": "application/json",
    },
  };
  const data = {
    jsonrpc: "2.0",
    id: 1,
    method: "cm_mintNFT",
    params: ["FILL_ME_ARG_1", "FILL_ME_ARG_2", "FILL_ME_ARG_3"],
  };
  axios
    .post(
      "https://FILL_YOUR_ENDPOINT_HERE.com",
      data,
      config
    )
    .then(function (response) {
      // handle success
      console.log(response.data);
    })
    .catch((err) => {
      // handle error
      console.log(err);
    });
})();

Check the different RPCs and examples in various languages here --> https://marketplace.quicknode.com/add-on/nft-mint-api-mainnet/

2

there is multiple solutions for this.

For example the https://studio.metaplex.com/

2

There are a lot of options available. You can use no-code solutions like Underdog Protocol or Crossmint. Or use Metaplex's Candy Machine JS SDK to do it programmatically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.