Skip to content

State and storage

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

GET /api/v1/bevm/balances/{address}

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/balances/{address} \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/balances:batchGet

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/balances:batchGet \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/morphvm/fingerprints

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/morphvm/fingerprints \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/morphvm:decode

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/morphvm:decode \
  -H "Authorization: Bearer $TRILOCORE_API_KEY"

POST /api/v1/bevm/storage-slots:computeMappingKey

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
key string yes maxLength 256
raw_key boolean no
slot string yes maxLength 256
curl -X POST https://api.trilocore.ai/api/v1/bevm/storage-slots:computeMappingKey \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"key": "…", "slot": "…"}'

POST /api/v1/bevm/storage-slots:read

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
range_end string | null no maxLength 66
range_start string | null no maxLength 66
slots array no
curl -X POST https://api.trilocore.ai/api/v1/bevm/storage-slots:read \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address": "…"}'

POST /api/v1/bevm/storage-slots:write

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

Request body

Field Type Required Constraints
address string yes maxLength 66
slot string | null no maxLength 66
value string | null no maxLength 66
writes array no
curl -X POST https://api.trilocore.ai/api/v1/bevm/storage-slots:write \
  -H "Authorization: Bearer $TRILOCORE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address": "…"}'