---
title: "Register a tx for a request."
method: PATCH
path: "/v1/register-tx"
tags: ["v1"]
---

# Register a tx for a request.

`PATCH /v1/register-tx`

Required for the Solver to track and execute some requests.

## Request body

- union — Gateway order to execute
  - object
    - `onramp` object, required
      - `bitcoin_tx_hex` string, nullable — Hex-encoded full Bitcoin transaction
      - `bitcoin_txid` string, nullable — Bitcoin transaction ID (txid)
      - `order_id` string, required — Unique order id
  - object
    - `offramp` object, required
      - `evm_txhash` string, required — EVM txhash
      - `order_id` string, required — Unique order id
  - object
    - `layerZero` object, required
      - `evm_txhash` string, required — EVM txhash
      - `order_id` string, required — Unique order id

## Response `200`

Register successful

- union
  - object
    - `onramp` object, required
      - `txid` string, required
  - 'ok'

---

[API](https://skmtc.dev/bob-collective/apis/bob-gateway-api.md) · [All operations](https://skmtc.dev/bob-collective/apis/bob-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bob-collective/apis/bob-gateway-api/revisions/a6065adb7d74?raw)
