> ## 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 an asynchronous token contract analysis. The response confirms submission; fetch the outcome later with getSimulateTokenContractResults.

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


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