{
  "name": "NFT Mint Tracker",
  "nodes": [
    {
      "parameters": {
        "chains": [
          "0x1"
        ],
        "contractAddresses": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
        "monitorType": "contractLogs",
        "abi": "[]",
        "topic0": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
        "options": {
          "verifySignature": true,
          "onlyConfirmed": true
        }
      },
      "id": "trigger-1",
      "name": "Moralis Streams Trigger",
      "type": "n8n-nodes-evmstream.moralisStreamsTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {
        "moralisStreamsApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": false
          },
          "conditions": [
            {
              "id": "mint-check",
              "leftValue": "={{ $json.data.topic1 }}",
              "rightValue": "0x0000000000000000000000000000000000000000000000000000000000000000",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ]
        }
      },
      "id": "if-1",
      "name": "Is Mint?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        500,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "event",
              "name": "event",
              "value": "NFT Mint Detected",
              "type": "string"
            },
            {
              "id": "contract",
              "name": "contract",
              "value": "={{ $json.data.address }}",
              "type": "string"
            },
            {
              "id": "to",
              "name": "mintedTo",
              "value": "={{ $json.data.topic2 }}",
              "type": "string"
            },
            {
              "id": "blockNumber",
              "name": "blockNumber",
              "value": "={{ $json.block.number }}",
              "type": "string"
            }
          ]
        }
      },
      "id": "set-1",
      "name": "Format Mint Event",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        750,
        250
      ]
    }
  ],
  "connections": {
    "Moralis Streams Trigger": {
      "main": [
        [
          {
            "node": "Is Mint?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Mint?": {
      "main": [
        [
          {
            "node": "Format Mint Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}