Skip to content

Targets and contracts

39 endpoints. Every path below is served by bevm-backend behind the gateway at https://api.trilocore.ai.

POST /api/v1/bevm/compilations

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
artifacts array | null no maxItems 256
contract_name string | null no maxLength 256
entrypoint string | null no maxLength 4096
evm_version string | null no maxLength 32
include_bytecode boolean | null no
optimize boolean no
optimize_runs integer no
project_id string | null no maxLength 128
remappings array | null no
solc_version string | null no maxLength 32
source string | null no maxLength 1000000
sources object | null no
workspace_id string | null no maxLength 128
curl -X POST https://api.trilocore.ai/api/v1/bevm/compilations \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"artifacts": [], "contract_name": "…", "entrypoint": "…"}'

GET /api/v1/bevm/compilations/{compilation_id}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/compilations/{compilation_id} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/compilations/{compilation_id}/artifacts/{artifact}/bytecode

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/compilations/{compilation_id}/artifacts/{artifact}/bytecode \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/compilers/solc/versions

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/compilers/solc/versions \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/contracts/{address}/analysis

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/contracts/{address}/analysis \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/contracts/{address}/cfg

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/contracts/{address}/cfg \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/contracts/{address}/disassembly

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/contracts/{address}/disassembly \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/contracts/{address}/execution-paths

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/contracts/{address}/execution-paths \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/contracts/{address}/selectors

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/contracts/{address}/selectors \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/contracts:call

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
abi array yes
address string yes maxLength 66
args array no
force_send boolean no
function string yes maxLength 512
gas_limit integer no
gas_price integer | null no
sender string no maxLength 66
value_wei integer | string | number no
curl -X POST https://api.trilocore.ai/api/v1/bevm/contracts:call \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address": "…", "abi": [], "function": "…"}'

GET /api/v1/bevm/library/presets

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/library/presets \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/library/presets

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/library/presets \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/library/presets/{preset_id}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/library/presets/{preset_id} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
address string yes maxLength 66
depth integer no maximum 3, minimum 1
discover boolean no
label string | null no maxLength 64
max_links integer no maximum 32, minimum 1
curl -X POST https://api.trilocore.ai/api/v1/bevm/targets \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address": "…"}'

GET /api/v1/bevm/targets/{uid}/abi

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/abi \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/blocks

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/blocks/{pc}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/blocks/{pc}/stack

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc}/stack \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/blocks/{pc}:autoTeleport

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc}:autoTeleport \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/blocks/{pc}:solvePath

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc}:solvePath \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/blocks/{pc}:synthesize

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc}:synthesize \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/blocks/{pc}:teleport

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/blocks/{pc}:teleport \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/contracts

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/contracts \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

DELETE /api/v1/bevm/targets/{uid}/contracts/{address}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X DELETE https://api.trilocore.ai/api/v1/bevm/targets/{uid}/contracts/{address} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

PATCH /api/v1/bevm/targets/{uid}/contracts/{address}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
label string | null no maxLength 64
curl -X PATCH https://api.trilocore.ai/api/v1/bevm/targets/{uid}/contracts/{address} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label": "…"}'

POST /api/v1/bevm/targets/{uid}/contracts:discover

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body

Field Type Required Constraints
addresses array no maxItems 32
depth integer no maximum 3, minimum 1
dry_run boolean no
max_links integer no maximum 32, minimum 1
curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/contracts:discover \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"addresses": [], "depth": 0, "dry_run": false}'

GET /api/v1/bevm/targets/{uid}/dataflow-graph

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/dataflow-graph \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/heap-analyses

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/heap-analyses \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/invariant-checks

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/invariant-checks \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/invariants

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/invariants \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/mindmap

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/mindmap \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/mindmap/selectors/{selector}

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/mindmap/selectors/{selector} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/multichain-checks

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/multichain-checks \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/targets/{uid}/power-clash-checks

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend

Request body not published

This endpoint accepts a body, but no machine-readable schema for it is published yet, so none is shown. The example below is therefore incomplete — do not read it as "send no body".

curl -X POST https://api.trilocore.ai/api/v1/bevm/targets/{uid}/power-clash-checks \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/proxy-collisions

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/proxy-collisions \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/storage-graph

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/storage-graph \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/tree

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/tree \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

GET /api/v1/bevm/targets/{uid}/visual-graph

Property Value
Authentication Authorization: Bearer (jns_ key or SSO session)
Idempotency-Key not required
Success 200
Upstream bevm-backend
curl -X GET https://api.trilocore.ai/api/v1/bevm/targets/{uid}/visual-graph \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"