> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# simulateTokenContract

> Queues asynchronous token analysis. Use simulateLiveContractInput; legacy deployment and creation-transaction modes are not supported by the current analyzer. A successful response acknowledges submission, not a trading verdict. Retrieve the outcome with getSimulateTokenContractResults. Non-admin requests have a five-minute cooldown per token and network; a cooldown violation raises TOO_MANY_REQUESTS.

<div data-generated>
  ## GraphQL

  ```
  type Mutation {
    # Requires a Growth or Enterprise plan.
    simulateTokenContract(
      input: SimulateTokenContractInput!
    ): SimulateTokenContractResponse
  }

  type SimulateTokenContractResponse {
    result: Boolean!
    simulationId: String
    error: String
  }

  input SimulateDeployInput {
    networkId: Int!
    blockNumber: Int!
    contractAddress: String!
    contractInput: String!
  }

  input SimulateCreateTransactionInput {
    networkId: Int!
    blockNumber: Int!
    createTransactionHash: String!
    contractAddress: String!
  }

  input SimulateLiveContractInput {
    networkId: Int!
    blockNumber: Int
    contractAddress: String!
  }

  input SimulateTokenContractInput {
    simulateDeployInput: SimulateDeployInput
    simulateCreateTransactionInput: SimulateCreateTransactionInput
    simulateLiveContractInput: SimulateLiveContractInput
  }
  ```
</div>
