BOB Gateway

Delegate on-chain submission of a signed onramp Bitcoin transaction to the gateway (V4).

The gateway validates the transaction against the order, screens it, and broadcasts it, so the user does not submit it themselves. Only the raw transaction is accepted (no txid), and only for onramps: offramp and token-swap source transactions are indexed from the chain.

PATCH
/v4/register-tx

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

V4 register-tx body: delegates on-chain submission of a signed onramp Bitcoin transaction to the gateway, which validates and broadcasts it. Unlike V3 there is no txid form (the gateway does the broadcasting) and no offramp or token-swap variant (their source transactions are indexed from the chain).

V4 register-tx body: delegates on-chain submission of a signed onramp Bitcoin transaction to the gateway, which validates and broadcasts it. Unlike V3 there is no txid form (the gateway does the broadcasting) and no offramp or token-swap variant (their source transactions are indexed from the chain).

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v4/register-tx" \  -H "Content-Type: application/json" \  -d '{    "onramp": {      "bitcoin_tx_hex": "string",      "order_id": "string"    }  }'
{  "onramp": {    "txid": "string"  }}