getSimulation
GET
/v1/developers/projects/{project_id}/simulations/{simulation_id}
const url = 'https://testnet-rpc.necter.network/v1/developers/projects/example/simulations/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://testnet-rpc.necter.network/v1/developers/projects/example/simulations/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project_id
required
string
simulation_id
required
string
Responses
Section titled “Responses”Run
Media typeapplication/json
object
simulation_id
required
string
project_id
required
string
status
required
string
results
Array<object>
object
round_id
required
string
success
required
boolean
output
required
string
receipt_hash
required
string
gas_used
required
integer
events
Array<object>
object
name
string
data
consensus
required
object
state
string
votes
integer
quorum
integer
error
string | null
logs
Array<string>
started_at
required
integer
Example
{ "status": "running"}not_found
Media typeapplication/json
object
error
required
Stable machine code
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example generated
{ "error": "example", "message": "example", "details": {}, "request_id": "example"}