---
title: "Trap At Block"
method: POST
path: "/v1/trace/trap-at-block"
tags: ["trace"]
---

# Trap At Block

`POST /v1/trace/trap-at-block`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/trace/trap-at-block`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Prove the trap existed when the victim bought (catch program N08a): replay the buy and
the attempted sell against our archive state at the victim's block (or a given block) and
sign the outcome -- a closed-vocabulary statement scoped to the token's code hash at that
block, typed floors before any verdict, served by /v1/verify. persist=false = dry run.

## Request body

- TrapAtBlockRequest
  - `token` string, required
  - `chain` string
  - `block` integer, nullable
  - `victim_tx` string, nullable
  - `persist` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bitpoort/apis/bitpoort-api.md) · [All operations](https://skmtc.dev/bitpoort/apis/bitpoort-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bitpoort/apis/bitpoort-api/revisions/1a51d8566777?raw)
