> ## 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.

# SimulateTokenContractInput

> Provide one input mode. Use simulateLiveContractInput for the current analyzer. Legacy modes remain for compatibility. If several are supplied, the resolver selects deployment, then live contract, then creation transaction; no mode returns result: false.

## GraphQL

```
input SimulateTokenContractInput {
  simulateDeployInput: SimulateDeployInput
  simulateCreateTransactionInput: SimulateCreateTransactionInput
  simulateLiveContractInput: SimulateLiveContractInput
}

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!
}
```

### Used By

**Used as input by**

* [simulateTokenContract](https://docs.codex.io/api-reference/mutations/simulatetokencontract.md): 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.