{
  "x402Version": 2,
  "id": 72330,
  "slug": "saylorinnovations-api-evm-contract-source",
  "resource": "https://saylorinnovations.com/api/evm/contract-source",
  "description": "Verified smart contract source and ABI summary from Blockscout - compiler, proxy, read and write function counts, payable functions and owner-style functions to review",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "chain": {
        "type": "string",
        "description": "Blockchain the data is for"
      },
      "address": {
        "type": "string",
        "description": "Account or contract address"
      },
      "name": {
        "type": "string",
        "description": "Name"
      },
      "verified": {
        "type": "boolean",
        "description": "True when the source code is verified on the explorer"
      },
      "language": {
        "type": [
          "string",
          "null"
        ],
        "description": "Language"
      },
      "compiler": {
        "type": [
          "string",
          "null"
        ],
        "description": "Compiler version used"
      },
      "proxy_type": {
        "type": [
          "string",
          "null"
        ],
        "description": "Proxy type"
      },
      "source_chars": {
        "type": "number",
        "description": "Source chars"
      },
      "abi_summary": {
        "type": "object",
        "properties": {
          "functions": {
            "description": "Number of functions in the ABI",
            "type": [
              "number",
              "null"
            ]
          },
          "read_functions": {
            "type": [
              "number",
              "null"
            ],
            "description": "Read functions"
          },
          "write_functions": {
            "type": [
              "number",
              "null"
            ],
            "description": "Write functions"
          },
          "events": {
            "type": [
              "number",
              "null"
            ],
            "description": "List of events"
          },
          "has_constructor": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "True when this has constructor"
          },
          "payable_functions": {
            "type": [
              "array",
              "null"
            ],
            "description": "Payable functions"
          },
          "write_function_signatures": {
            "type": [
              "array",
              "null"
            ],
            "description": "Write function signatures"
          }
        },
        "description": "Abi summary"
      },
      "privileged_looking_functions": {
        "type": "array",
        "description": "Privileged looking functions"
      },
      "explorer_url": {
        "type": "string",
        "description": "Explorer URL"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      },
      "optimization": {
        "description": "Optimizer settings: enabled flag and runs",
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "enabled": {
            "description": "True when compiler optimisation was on",
            "type": [
              "boolean",
              "null"
            ]
          },
          "runs": {
            "description": "Optimiser runs setting"
          }
        }
      },
      "implementations": {
        "description": "Implementation contracts when the address is a proxy",
        "type": [
          "array",
          "null"
        ]
      },
      "verified_at": {
        "type": [
          "string",
          "null"
        ],
        "description": "Verified at (UTC unless a time zone is given)"
      },
      "evm_version": {
        "type": [
          "string",
          "null"
        ],
        "description": "Evm version"
      },
      "license": {
        "type": [
          "string",
          "null"
        ],
        "description": "License identifier"
      },
      "source_files": {
        "type": [
          "number",
          "null"
        ],
        "description": "Source files"
      },
      "main_file": {
        "type": [
          "string",
          "null"
        ],
        "description": "Main file"
      },
      "source_excerpt": {
        "type": [
          "string",
          "null"
        ],
        "description": "Source excerpt"
      },
      "constructor_args": {
        "type": [
          "string",
          "null"
        ],
        "description": "Constructor args"
      }
    },
    "required": [
      "chain",
      "address",
      "abi_summary"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "chain": "ethereum"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "ethereum",
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "name": "TetherToken",
            "verified": true,
            "verified_at": "2019-04-18T23:27:13.673Z",
            "language": "solidity",
            "compiler": "v0.4.18+commit.9cf6e910",
            "evm_version": "default",
            "optimization": {
              "enabled": false,
              "runs": null
            },
            "license": "none",
            "proxy_type": null,
            "implementations": [],
            "source_files": 1,
            "main_file": ".sol",
            "source_chars": 14888,
            "source_excerpt": "pragma solidity ^0.4.17;\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n    function mul(uint256 a, uint256 b) internal pure retu…",
            "abi_summary": {
              "functions": 32,
              "read_functions": 19,
              "write_functions": 13,
              "events": 11,
              "has_constructor": true,
              "payable_functions": [],
              "write_function_signatures": [
                "deprecate(address)",
                "approve(address,uint256)",
                "addBlackList(address)"
              ]
            },
            "privileged_looking_functions": [
              "addBlackList",
              "unpause",
              "pause"
            ],
            "constructor_args": "0x000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000…",
            "explorer_url": "https://eth.blockscout.com/address/0xdAC17F958D2ee523a2206206994597C13D831ec7?tab=contract",
            "note": "Verified source and ABI from Blockscout. privileged_looking_functions are write functions whose names suggest owner or admin powers (mint, pause, blacklist, upgrade...); that is a prompt to read the …",
            "source": "Blockscout"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "description": "Contract 0x address"
                  },
                  "chain": {
                    "type": "string",
                    "description": "ethereum (default), base, optimism, arbitrum, polygon, gnosis"
                  }
                },
                "required": [
                  "address"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "Blockchain the data is for"
                  },
                  "address": {
                    "type": "string",
                    "description": "Account or contract address"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name"
                  },
                  "verified": {
                    "type": "boolean",
                    "description": "True when the source code is verified on the explorer"
                  },
                  "language": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Language"
                  },
                  "compiler": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Compiler version used"
                  },
                  "proxy_type": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Proxy type"
                  },
                  "source_chars": {
                    "type": "number",
                    "description": "Source chars"
                  },
                  "abi_summary": {
                    "type": "object",
                    "properties": {
                      "functions": {
                        "description": "Number of functions in the ABI",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "read_functions": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Read functions"
                      },
                      "write_functions": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Write functions"
                      },
                      "events": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "List of events"
                      },
                      "has_constructor": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "True when this has constructor"
                      },
                      "payable_functions": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "description": "Payable functions"
                      },
                      "write_function_signatures": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "description": "Write function signatures"
                      }
                    },
                    "description": "Abi summary"
                  },
                  "privileged_looking_functions": {
                    "type": "array",
                    "description": "Privileged looking functions"
                  },
                  "explorer_url": {
                    "type": "string",
                    "description": "Explorer URL"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  },
                  "optimization": {
                    "description": "Optimizer settings: enabled flag and runs",
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "enabled": {
                        "description": "True when compiler optimisation was on",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "runs": {
                        "description": "Optimiser runs setting"
                      }
                    }
                  },
                  "implementations": {
                    "description": "Implementation contracts when the address is a proxy",
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "verified_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Verified at (UTC unless a time zone is given)"
                  },
                  "evm_version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Evm version"
                  },
                  "license": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "License identifier"
                  },
                  "source_files": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Source files"
                  },
                  "main_file": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Main file"
                  },
                  "source_excerpt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Source excerpt"
                  },
                  "constructor_args": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Constructor args"
                  }
                },
                "required": [
                  "chain",
                  "address",
                  "abi_summary"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "is this contract verified",
    "smart contract source code",
    "does a token contract have mint",
    "contract compiler version",
    "owner privileges in a token"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.888Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "Contract 0x address"
        },
        "chain": {
          "type": "string",
          "description": "ethereum (default), base, optimism, arbitrum, polygon, gnosis"
        }
      },
      "required": [
        "address"
      ]
    },
    "exampleResponse": {
      "chain": "ethereum",
      "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "name": "TetherToken",
      "verified": true,
      "verified_at": "2019-04-18T23:27:13.673Z",
      "language": "solidity",
      "compiler": "v0.4.18+commit.9cf6e910",
      "evm_version": "default",
      "optimization": {
        "enabled": false,
        "runs": null
      },
      "license": "none",
      "proxy_type": null,
      "implementations": [],
      "source_files": 1,
      "main_file": ".sol",
      "source_chars": 14888,
      "source_excerpt": "pragma solidity ^0.4.17;\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n    function mul(uint256 a, uint256 b) internal pure retu…",
      "abi_summary": {
        "functions": 32,
        "read_functions": 19,
        "write_functions": 13,
        "events": 11,
        "has_constructor": true,
        "payable_functions": [],
        "write_function_signatures": [
          "deprecate(address)",
          "approve(address,uint256)",
          "addBlackList(address)"
        ]
      },
      "privileged_looking_functions": [
        "addBlackList",
        "unpause",
        "pause"
      ],
      "constructor_args": "0x000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000…",
      "explorer_url": "https://eth.blockscout.com/address/0xdAC17F958D2ee523a2206206994597C13D831ec7?tab=contract",
      "note": "Verified source and ABI from Blockscout. privileged_looking_functions are write functions whose names suggest owner or admin powers (mint, pause, blacklist, upgrade...); that is a prompt to read the …",
      "source": "Blockscout"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
              "chain": "ethereum"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "chain": "ethereum",
              "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
              "name": "TetherToken",
              "verified": true,
              "verified_at": "2019-04-18T23:27:13.673Z",
              "language": "solidity",
              "compiler": "v0.4.18+commit.9cf6e910",
              "evm_version": "default",
              "optimization": {
                "enabled": false,
                "runs": null
              },
              "license": "none",
              "proxy_type": null,
              "implementations": [],
              "source_files": 1,
              "main_file": ".sol",
              "source_chars": 14888,
              "source_excerpt": "pragma solidity ^0.4.17;\r\n\r\n/**\r\n * @title SafeMath\r\n * @dev Math operations with safety checks that throw on error\r\n */\r\nlibrary SafeMath {\r\n    function mul(uint256 a, uint256 b) internal pure retu…",
              "abi_summary": {
                "functions": 32,
                "read_functions": 19,
                "write_functions": 13,
                "events": 11,
                "has_constructor": true,
                "payable_functions": [],
                "write_function_signatures": [
                  "deprecate(address)",
                  "approve(address,uint256)",
                  "addBlackList(address)"
                ]
              },
              "privileged_looking_functions": [
                "addBlackList",
                "unpause",
                "pause"
              ],
              "constructor_args": "0x000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000…",
              "explorer_url": "https://eth.blockscout.com/address/0xdAC17F958D2ee523a2206206994597C13D831ec7?tab=contract",
              "note": "Verified source and ABI from Blockscout. privileged_looking_functions are write functions whose names suggest owner or admin powers (mint, pause, blacklist, upgrade...); that is a prompt to read the …",
              "source": "Blockscout"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "description": "Contract 0x address"
                    },
                    "chain": {
                      "type": "string",
                      "description": "ethereum (default), base, optimism, arbitrum, polygon, gnosis"
                    }
                  },
                  "required": [
                    "address"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "Blockchain the data is for"
                    },
                    "address": {
                      "type": "string",
                      "description": "Account or contract address"
                    },
                    "name": {
                      "type": "string",
                      "description": "Name"
                    },
                    "verified": {
                      "type": "boolean",
                      "description": "True when the source code is verified on the explorer"
                    },
                    "language": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Language"
                    },
                    "compiler": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Compiler version used"
                    },
                    "proxy_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Proxy type"
                    },
                    "source_chars": {
                      "type": "number",
                      "description": "Source chars"
                    },
                    "abi_summary": {
                      "type": "object",
                      "properties": {
                        "functions": {
                          "description": "Number of functions in the ABI",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "read_functions": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Read functions"
                        },
                        "write_functions": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Write functions"
                        },
                        "events": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "List of events"
                        },
                        "has_constructor": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "description": "True when this has constructor"
                        },
                        "payable_functions": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "description": "Payable functions"
                        },
                        "write_function_signatures": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "description": "Write function signatures"
                        }
                      },
                      "description": "Abi summary"
                    },
                    "privileged_looking_functions": {
                      "type": "array",
                      "description": "Privileged looking functions"
                    },
                    "explorer_url": {
                      "type": "string",
                      "description": "Explorer URL"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    },
                    "optimization": {
                      "description": "Optimizer settings: enabled flag and runs",
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "enabled": {
                          "description": "True when compiler optimisation was on",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "runs": {
                          "description": "Optimiser runs setting"
                        }
                      }
                    },
                    "implementations": {
                      "description": "Implementation contracts when the address is a proxy",
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "verified_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Verified at (UTC unless a time zone is given)"
                    },
                    "evm_version": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Evm version"
                    },
                    "license": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "License identifier"
                    },
                    "source_files": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source files"
                    },
                    "main_file": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Main file"
                    },
                    "source_excerpt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Source excerpt"
                    },
                    "constructor_args": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Constructor args"
                    }
                  },
                  "required": [
                    "chain",
                    "address",
                    "abi_summary"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/evm/contract-source?chain=ethereum&address=0xdAC17F958D2ee523a2206206994597C13D831ec7",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "chain": "string",
    "address": "string",
    "name": "string",
    "verified": true,
    "language": "string",
    "compiler": "string",
    "proxy_type": "string",
    "source_chars": 0,
    "abi_summary": {
      "functions": 0,
      "read_functions": 0,
      "write_functions": 0,
      "events": 0,
      "has_constructor": true,
      "payable_functions": [
        "value"
      ],
      "write_function_signatures": [
        "value"
      ]
    },
    "privileged_looking_functions": [
      "value"
    ],
    "explorer_url": "string",
    "note": "string",
    "source": "string",
    "optimization": {
      "enabled": true,
      "runs": null
    },
    "implementations": [
      "value"
    ],
    "verified_at": "string",
    "evm_version": "string",
    "license": "string",
    "source_files": 0,
    "main_file": "string",
    "source_excerpt": "string",
    "constructor_args": "string"
  }
}