{
  "x402Version": 2,
  "id": 30933,
  "slug": "30933",
  "resource": "https://x402.agentutility.ai/contract-source",
  "description": "Returns verified source code and ABI for any deployed contract on Ethereum, Base, Optimism, Arbitrum, or Polygon. Includes is_verified, contract name, compiler version, parsed ABI, full source, license, optimizer settings, constructor args, and proxy implementation address. Use it as an Etherscan source lookup, contract ABI fetcher, or Solidity source lookup.",
  "type": "http",
  "serviceName": "AgentUtility.ai",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "abi": {
            "items": {
              "properties": {
                "inputs": {
                  "type": "array"
                },
                "name": {
                  "type": "string"
                },
                "outputs": {
                  "type": "array"
                },
                "stateMutability": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "address": {
            "type": "string"
          },
          "chain": {
            "type": "string"
          },
          "compiler_version": {
            "type": "string"
          },
          "constructor_arguments": {
            "type": "string"
          },
          "is_verified": {
            "type": "boolean"
          },
          "license": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "optimization": {
            "properties": {
              "enabled": {
                "type": "boolean"
              },
              "runs": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "proxy": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "source_code": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "address": "0x4200000000000000000000000000000000000006",
            "chain": "base"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "abi": [
              {
                "inputs": [],
                "name": "deposit",
                "outputs": [],
                "stateMutability": "payable",
                "type": "function"
              },
              {
                "inputs": [
                  {
                    "name": "wad",
                    "type": "uint256"
                  }
                ],
                "name": "withdraw",
                "outputs": [],
                "stateMutability": "nonpayable",
                "type": "function"
              }
            ],
            "address": "0x4200000000000000000000000000000000000006",
            "chain": "base",
            "compiler_version": "v0.4.18+commit.9cf6e910",
            "constructor_arguments": "",
            "is_verified": true,
            "license": "None",
            "name": "WETH",
            "optimization": {
              "enabled": false,
              "runs": 200
            },
            "proxy": false,
            "source": "https://etherscan.io",
            "source_code": "pragma solidity ^0.4.18;\ncontract WETH9 { ... }"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "0x-prefixed 20-byte EVM contract address.",
                    "type": "string"
                  },
                  "chain": {
                    "description": "EVM chain. Default 'base'. Other supported: 'ethereum', 'polygon', 'arbitrum', 'optimism'.",
                    "enum": [
                      "base",
                      "ethereum",
                      "polygon",
                      "arbitrum",
                      "optimism"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "abi": {
                    "items": {
                      "properties": {
                        "inputs": {
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "outputs": {
                          "type": "array"
                        },
                        "stateMutability": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "address": {
                    "type": "string"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "compiler_version": {
                    "type": "string"
                  },
                  "constructor_arguments": {
                    "type": "string"
                  },
                  "is_verified": {
                    "type": "boolean"
                  },
                  "license": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "optimization": {
                    "properties": {
                      "enabled": {
                        "type": "boolean"
                      },
                      "runs": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "proxy": {
                    "type": "boolean"
                  },
                  "source": {
                    "type": "string"
                  },
                  "source_code": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_awpbwsy3"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "edge-market",
    "contract",
    "source",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-10-12T13:31:16.254Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T13:31:15.995Z"
  },
  "metadata": {
    "serviceName": "AgentUtility.ai",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
    "extensions": {
      "bazaar": {
        "discoverable": true,
        "info": {
          "input": {
            "body": {
              "address": "0x4200000000000000000000000000000000000006",
              "chain": "base"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "abi": [
                {
                  "inputs": [],
                  "name": "deposit",
                  "outputs": [],
                  "stateMutability": "payable",
                  "type": "function"
                },
                {
                  "inputs": [
                    {
                      "name": "wad",
                      "type": "uint256"
                    }
                  ],
                  "name": "withdraw",
                  "outputs": [],
                  "stateMutability": "nonpayable",
                  "type": "function"
                }
              ],
              "address": "0x4200000000000000000000000000000000000006",
              "chain": "base",
              "compiler_version": "v0.4.18+commit.9cf6e910",
              "constructor_arguments": "",
              "is_verified": true,
              "license": "None",
              "name": "WETH",
              "optimization": {
                "enabled": false,
                "runs": 200
              },
              "proxy": false,
              "source": "https://etherscan.io",
              "source_code": "pragma solidity ^0.4.18;\ncontract WETH9 { ... }"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "address": {
                      "description": "0x-prefixed 20-byte EVM contract address.",
                      "type": "string"
                    },
                    "chain": {
                      "description": "EVM chain. Default 'base'. Other supported: 'ethereum', 'polygon', 'arbitrum', 'optimism'.",
                      "enum": [
                        "base",
                        "ethereum",
                        "polygon",
                        "arbitrum",
                        "optimism"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "address"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "abi": {
                      "items": {
                        "properties": {
                          "inputs": {
                            "type": "array"
                          },
                          "name": {
                            "type": "string"
                          },
                          "outputs": {
                            "type": "array"
                          },
                          "stateMutability": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "address": {
                      "type": "string"
                    },
                    "chain": {
                      "type": "string"
                    },
                    "compiler_version": {
                      "type": "string"
                    },
                    "constructor_arguments": {
                      "type": "string"
                    },
                    "is_verified": {
                      "type": "boolean"
                    },
                    "license": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "optimization": {
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "runs": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "proxy": {
                      "type": "boolean"
                    },
                    "source": {
                      "type": "string"
                    },
                    "source_code": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_awpbwsy3"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "abi": [
      {
        "inputs": [],
        "name": "deposit",
        "outputs": [],
        "stateMutability": "payable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "name": "wad",
            "type": "uint256"
          }
        ],
        "name": "withdraw",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      }
    ],
    "address": "0x4200000000000000000000000000000000000006",
    "chain": "base",
    "compiler_version": "v0.4.18+commit.9cf6e910",
    "constructor_arguments": "",
    "is_verified": true,
    "license": "None",
    "name": "WETH",
    "optimization": {
      "enabled": false,
      "runs": 200
    },
    "proxy": false,
    "source": "https://etherscan.io",
    "source_code": "pragma solidity ^0.4.18;\ncontract WETH9 { ... }"
  }
}