{
  "opencollection": "1.0.0",
  "info": {
    "name": "Basescan Accounts Contracts API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contracts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Contract ABI for Verified Contract Source Codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=contract&action=getabi",
            "params": [
              {
                "name": "address",
                "value": "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the Contract Application Binary Interface ( ABI ) of a verified smart contract. Find verified contracts ✅on our Verified Contracts Source Code page."
        },
        {
          "info": {
            "name": "Get Contract Source Code for Verified Contract Source Codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=contract&action=getsourcecode",
            "params": [
              {
                "name": "address",
                "value": "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the Solidity source code of a verified smart contract. 📩 Tip : You can also download a CSV list of verified contracts addresses of which the code publishers have provided a corresponding Open Source license for redistribution."
        },
        {
          "info": {
            "name": "Get Contract Creator and Creation Tx Hash",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=contract&action=getcontractcreation",
            "params": [
              {
                "name": "contractaddresses",
                "value": "0xB83c27805aAcA5C7082eB45C868d955Cf04C337F,0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45,0xe4462eb568E2DFbb5b0cA2D3DbB1A35C9Aa98aad,0xdAC17F958D2ee523a2206206994597C13D831ec7,0xf5b969064b91869fBF676ecAbcCd1c5563F591d0",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a contract's deployer address and transaction hash it was created, up to 5 at a time."
        },
        {
          "info": {
            "name": "Verify Source Code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.basescan.org/api/?module=contract&action=verifysourcecode",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Submits a contract source code to an Etherscan-like explorer for verification. 🌐 Tutorial : A full walk through of submitting multichain contract verification.📝 Note : This endpoint is limited to 100 verifications/day, regardless of API PRO tier."
        },
        {
          "info": {
            "name": "Check Source Code Verification Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=contract&action=checkverifystatus",
            "params": [
              {
                "name": "guid",
                "value": "x3ryqcqr1zdknhfhkimqmizlcqpxncqc6nrvp3pgrcpfsqedqi",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the success or error status of a contract verification request."
        }
      ]
    }
  ],
  "bundled": true
}