Mint an NFT with ChainGPT's AI NFT Generator(any chain)

Curated by

ChainGPT

ID Type

EVM ADDRESS

Cred Type

REST

Last Update Time

12/28/2024, 17:49:00

Method

GET

Header

{"address":"***"}

Endpoint

https://nftgenapi.chaingpt.org/***

Expression

function convertToOutput(data) {
    let config = {
      	"eth": true, 
        "bsc": true, 
        "matic": true, 
        "avalanche": true, 
        "opbnb": true,
        "scroll": true,
        "arbitrum-one": true,
      "BitTorrent-Chain-Mainnet": true,
"viction-mainnet": true,
      "mantle": true,
        "skale-titan": true,
        "tron": true,
      "X-Layer": true,
        "SEI": true,
        "5ire": true,
      "COREDAO": true,
      	"arbitrum-one": true,
      	"homestead": true
    };
  
    for (let key in config) {
        if (config[key] && data[key] > 0) {
            return 1;
        }
          
    }
    return 0;
}