{
  "x402Version": 2,
  "id": 72706,
  "slug": "saylorinnovations-api-chain-function-selectors",
  "resource": "https://saylorinnovations.com/api/chain/function-selectors",
  "description": "Bytecode selector scan for 16 EVM chains: known functions found and capability flags such as mint, pause, blacklist, permit, fees and trading switch.",
  "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": "the chain name that was queried"
      },
      "chain_id": {
        "type": "number",
        "description": "EIP-155 chain id of that network"
      },
      "address": {
        "type": "string",
        "description": "contract scanned"
      },
      "code_size_bytes": {
        "type": "number",
        "description": "size of the deployed code"
      },
      "selectors_found": {
        "type": "number",
        "description": "distinct 4-byte selectors in the bytecode"
      },
      "known_selectors": {
        "type": "number",
        "description": "selectors matched to a known signature"
      },
      "unknown_selectors": {
        "type": "number",
        "description": "selectors not in the list"
      },
      "known": {
        "description": "matched selectors with signatures",
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": "object",
          "properties": {
            "selector": {
              "description": "4-byte selector",
              "type": [
                "string",
                "null"
              ]
            },
            "signature": {
              "description": "matched function signature",
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      },
      "capabilities": {
        "description": "true or false hints derived from the matches",
        "type": [
          "object",
          "null"
        ]
      },
      "looks_like_proxy": {
        "type": "boolean",
        "description": "true when the code looks like a small proxy"
      },
      "note": {
        "type": "string",
        "description": "plain-language reading of the result"
      },
      "source": {
        "type": "string",
        "description": "where the data was read from or how it was computed"
      }
    },
    "required": [
      "chain",
      "chain_id",
      "address",
      "selectors_found",
      "known",
      "capabilities",
      "note",
      "source"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "chain": "ethereum"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "ethereum",
            "chain_id": 1,
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "code_size_bytes": 11075,
            "selectors_found": 36,
            "known_selectors": 14,
            "unknown_selectors": 22,
            "known": [
              {
                "selector": "0x06fdde03",
                "signature": "name()"
              },
              {
                "selector": "0x095ea7b3",
                "signature": "approve(address,uint256)"
              },
              {
                "selector": "0x18160ddd",
                "signature": "totalSupply()"
              },
              {
                "selector": "0x23b872dd",
                "signature": "transferFrom(address,address,uint256)"
              },
              {
                "selector": "0x313ce567",
                "signature": "decimals()"
              },
              {
                "selector": "0x3f4ba83a",
                "signature": "unpause()"
              },
              {
                "selector": "0x5c975abb",
                "signature": "paused()"
              },
              {
                "selector": "0x70a08231",
                "signature": "balanceOf(address)"
              },
              {
                "selector": "0x8456cb59",
                "signature": "pause()"
              },
              {
                "selector": "0x8da5cb5b",
                "signature": "owner()"
              },
              {
                "selector": "0x95d89b41",
                "signature": "symbol()"
              },
              {
                "selector": "0xa9059cbb",
                "signature": "transfer(address,uint256)"
              },
              {
                "selector": "0xdd62ed3e",
                "signature": "allowance(address,address)"
              },
              {
                "selector": "0xf2fde38b",
                "signature": "transferOwnership(address)"
              }
            ],
            "capabilities": {
              "mintable": false,
              "burnable": false,
              "pausable": true,
              "blacklist_functions": false,
              "ownable": true,
              "permit_support": false,
              "upgradeable_proxy_logic": false,
              "flash_loans": false,
              "fee_controls": false,
              "trading_switch": false,
              "tx_limits": false,
              "role_based_access": false,
              "rescue_or_sweep": false,
              "selfdestruct_function": false
            },
            "looks_like_proxy": false,
            "note": "Selectors are 4-byte values found as PUSH4 constants in the deployed bytecode and matched against a list of 75 common signatures. Capabilities are hints from that match: a function can exist but be unreachable or access-controlled. A proxy shows the proxy's own few selectors, so check its implementation too.",
            "source": "Chain JSON-RPC (ethereum)"
          }
        }
      },
      "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": "the contract address to scan"
                  },
                  "chain": {
                    "type": "string",
                    "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
                  }
                },
                "required": [
                  "address",
                  "chain"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "the chain name that was queried"
                  },
                  "chain_id": {
                    "type": "number",
                    "description": "EIP-155 chain id of that network"
                  },
                  "address": {
                    "type": "string",
                    "description": "contract scanned"
                  },
                  "code_size_bytes": {
                    "type": "number",
                    "description": "size of the deployed code"
                  },
                  "selectors_found": {
                    "type": "number",
                    "description": "distinct 4-byte selectors in the bytecode"
                  },
                  "known_selectors": {
                    "type": "number",
                    "description": "selectors matched to a known signature"
                  },
                  "unknown_selectors": {
                    "type": "number",
                    "description": "selectors not in the list"
                  },
                  "known": {
                    "description": "matched selectors with signatures",
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "properties": {
                        "selector": {
                          "description": "4-byte selector",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "signature": {
                          "description": "matched function signature",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "capabilities": {
                    "description": "true or false hints derived from the matches",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "looks_like_proxy": {
                    "type": "boolean",
                    "description": "true when the code looks like a small proxy"
                  },
                  "note": {
                    "type": "string",
                    "description": "plain-language reading of the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "where the data was read from or how it was computed"
                  }
                },
                "required": [
                  "chain",
                  "chain_id",
                  "address",
                  "selectors_found",
                  "known",
                  "capabilities",
                  "note",
                  "source"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "contract function scan",
    "is token mintable",
    "blacklist function detect",
    "bytecode selector analysis",
    "token privileges check"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.983Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "the contract address to scan"
        },
        "chain": {
          "type": "string",
          "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
        }
      },
      "required": [
        "address",
        "chain"
      ]
    },
    "exampleResponse": {
      "chain": "ethereum",
      "chain_id": 1,
      "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "code_size_bytes": 11075,
      "selectors_found": 36,
      "known_selectors": 14,
      "unknown_selectors": 22,
      "known": [
        {
          "selector": "0x06fdde03",
          "signature": "name()"
        },
        {
          "selector": "0x095ea7b3",
          "signature": "approve(address,uint256)"
        },
        {
          "selector": "0x18160ddd",
          "signature": "totalSupply()"
        },
        {
          "selector": "0x23b872dd",
          "signature": "transferFrom(address,address,uint256)"
        },
        {
          "selector": "0x313ce567",
          "signature": "decimals()"
        },
        {
          "selector": "0x3f4ba83a",
          "signature": "unpause()"
        },
        {
          "selector": "0x5c975abb",
          "signature": "paused()"
        },
        {
          "selector": "0x70a08231",
          "signature": "balanceOf(address)"
        },
        {
          "selector": "0x8456cb59",
          "signature": "pause()"
        },
        {
          "selector": "0x8da5cb5b",
          "signature": "owner()"
        },
        {
          "selector": "0x95d89b41",
          "signature": "symbol()"
        },
        {
          "selector": "0xa9059cbb",
          "signature": "transfer(address,uint256)"
        },
        {
          "selector": "0xdd62ed3e",
          "signature": "allowance(address,address)"
        },
        {
          "selector": "0xf2fde38b",
          "signature": "transferOwnership(address)"
        }
      ],
      "capabilities": {
        "mintable": false,
        "burnable": false,
        "pausable": true,
        "blacklist_functions": false,
        "ownable": true,
        "permit_support": false,
        "upgradeable_proxy_logic": false,
        "flash_loans": false,
        "fee_controls": false,
        "trading_switch": false,
        "tx_limits": false,
        "role_based_access": false,
        "rescue_or_sweep": false,
        "selfdestruct_function": false
      },
      "looks_like_proxy": false,
      "note": "Selectors are 4-byte values found as PUSH4 constants in the deployed bytecode and matched against a list of 75 common signatures. Capabilities are hints from that match: a function can exist but be unreachable or access-controlled. A proxy shows the proxy's own few selectors, so check its implementation too.",
      "source": "Chain JSON-RPC (ethereum)"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
              "chain": "ethereum"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "chain": "ethereum",
              "chain_id": 1,
              "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
              "code_size_bytes": 11075,
              "selectors_found": 36,
              "known_selectors": 14,
              "unknown_selectors": 22,
              "known": [
                {
                  "selector": "0x06fdde03",
                  "signature": "name()"
                },
                {
                  "selector": "0x095ea7b3",
                  "signature": "approve(address,uint256)"
                },
                {
                  "selector": "0x18160ddd",
                  "signature": "totalSupply()"
                },
                {
                  "selector": "0x23b872dd",
                  "signature": "transferFrom(address,address,uint256)"
                },
                {
                  "selector": "0x313ce567",
                  "signature": "decimals()"
                },
                {
                  "selector": "0x3f4ba83a",
                  "signature": "unpause()"
                },
                {
                  "selector": "0x5c975abb",
                  "signature": "paused()"
                },
                {
                  "selector": "0x70a08231",
                  "signature": "balanceOf(address)"
                },
                {
                  "selector": "0x8456cb59",
                  "signature": "pause()"
                },
                {
                  "selector": "0x8da5cb5b",
                  "signature": "owner()"
                },
                {
                  "selector": "0x95d89b41",
                  "signature": "symbol()"
                },
                {
                  "selector": "0xa9059cbb",
                  "signature": "transfer(address,uint256)"
                },
                {
                  "selector": "0xdd62ed3e",
                  "signature": "allowance(address,address)"
                },
                {
                  "selector": "0xf2fde38b",
                  "signature": "transferOwnership(address)"
                }
              ],
              "capabilities": {
                "mintable": false,
                "burnable": false,
                "pausable": true,
                "blacklist_functions": false,
                "ownable": true,
                "permit_support": false,
                "upgradeable_proxy_logic": false,
                "flash_loans": false,
                "fee_controls": false,
                "trading_switch": false,
                "tx_limits": false,
                "role_based_access": false,
                "rescue_or_sweep": false,
                "selfdestruct_function": false
              },
              "looks_like_proxy": false,
              "note": "Selectors are 4-byte values found as PUSH4 constants in the deployed bytecode and matched against a list of 75 common signatures. Capabilities are hints from that match: a function can exist but be unreachable or access-controlled. A proxy shows the proxy's own few selectors, so check its implementation too.",
              "source": "Chain JSON-RPC (ethereum)"
            }
          }
        },
        "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": "the contract address to scan"
                    },
                    "chain": {
                      "type": "string",
                      "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
                    }
                  },
                  "required": [
                    "address",
                    "chain"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "the chain name that was queried"
                    },
                    "chain_id": {
                      "type": "number",
                      "description": "EIP-155 chain id of that network"
                    },
                    "address": {
                      "type": "string",
                      "description": "contract scanned"
                    },
                    "code_size_bytes": {
                      "type": "number",
                      "description": "size of the deployed code"
                    },
                    "selectors_found": {
                      "type": "number",
                      "description": "distinct 4-byte selectors in the bytecode"
                    },
                    "known_selectors": {
                      "type": "number",
                      "description": "selectors matched to a known signature"
                    },
                    "unknown_selectors": {
                      "type": "number",
                      "description": "selectors not in the list"
                    },
                    "known": {
                      "description": "matched selectors with signatures",
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "selector": {
                            "description": "4-byte selector",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "signature": {
                            "description": "matched function signature",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "capabilities": {
                      "description": "true or false hints derived from the matches",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "looks_like_proxy": {
                      "type": "boolean",
                      "description": "true when the code looks like a small proxy"
                    },
                    "note": {
                      "type": "string",
                      "description": "plain-language reading of the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "where the data was read from or how it was computed"
                    }
                  },
                  "required": [
                    "chain",
                    "chain_id",
                    "address",
                    "selectors_found",
                    "known",
                    "capabilities",
                    "note",
                    "source"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/chain/function-selectors?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",
    "chain_id": 0,
    "address": "string",
    "code_size_bytes": 0,
    "selectors_found": 0,
    "known_selectors": 0,
    "unknown_selectors": 0,
    "known": [
      {
        "selector": "string",
        "signature": "string"
      }
    ],
    "capabilities": {},
    "looks_like_proxy": true,
    "note": "string",
    "source": "string"
  }
}