BOB Gateway is an MCP server published by xyz.gobob, hosted at mcp.gobob.xyz. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 9 tools, including create_order, get_max_spendable, get_order, get_orders, get_quote.
Swap native BTC to and from tokens on EVM chains and Tron through BOB Gateway
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Create an order from a quote. Returns the order id plus what the user must sign: a deposit address / PSBT for onramps, or the EVM or Tron transaction otherwise.
| Parameter | Type | Description |
|---|---|---|
| quote * | object | The quote object exactly as returned by `get_quote`, e.g. {"onramp": {...}}; not a string |
{
"name": "create_order",
"description": "Create an order from a quote. Returns the order id plus what the user must sign: a\ndeposit address / PSBT for onramps, or the EVM or Tron transaction otherwise.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"quote"
],
"properties": {
"quote": {
"type": "object",
"description": "The quote object exactly as returned by `get_quote`, e.g. {\"onramp\": {...}}; not a string",
"additionalProperties": true
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Inferred from the host name and headers: what a server runs on, not who runs it.
Maximum BTC (sats) an address can send to an onramp after estimated network fees.
| Parameter | Type | Description |
|---|---|---|
| address * | string | Bitcoin address |
{
"name": "get_max_spendable",
"description": "Maximum BTC (sats) an address can send to an onramp after estimated network fees.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"description": "Bitcoin address"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Get an order's status and details.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Order id, source Bitcoin txid, or source EVM tx hash |
{
"name": "get_order",
"description": "Get an order's status and details.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Order id, source Bitcoin txid, or source EVM tx hash"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}List orders for one or more user addresses, paginated.
| Parameter | Type | Description |
|---|---|---|
| limit | ["integer","null"] | Page size |
| cursor | ["string","null"] | Cursor from a previous response's `nextCursor` |
| user_addresses * | array | User addresses (up to 20), each encoded for its own chain |
{
"name": "get_orders",
"description": "List orders for one or more user addresses, paginated.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"user_addresses"
],
"properties": {
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Page size"
},
"cursor": {
"type": [
"string",
"null"
],
"description": "Cursor from a previous response's `nextCursor`"
},
"user_addresses": {
"type": "array",
"items": {
"type": "string"
},
"description": "User addresses (up to 20), each encoded for its own chain"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Get a quote for a swap (onramp quotes are signed by the API). Pass the returned object unchanged to `create_order`.
| Parameter | Type | Description |
|---|---|---|
| amount * | string | Amount to swap as an integer string in the source token's smallest unit |
| sender | ["string","null"] | Address sending the funds, encoded for the source chain. On onramps it lets create-order return a funded PSBT, which may spend the address's ordinals, inscriptions or runes as plain sats: omit it for an address holding any. |
| slippage | ["integer","null"] | Slippage tolerance in basis points (max 1000). Omit to let the gateway pick one per route. |
| dst_chain * | string | Destination chain |
| dst_token * | string | Destination token address; "0x0000000000000000000000000000000000000000" for BTC/native |
| recipient * | string | Address receiving the funds, encoded for the destination chain |
| src_chain * | string | Source chain, e.g. "bitcoin", "ethereum", "base", "bob", "tron" |
| src_token * | string | Source token address; "0x0000000000000000000000000000000000000000" for BTC/native |
| affiliates | ["string","null"] | Affiliate fees as comma-separated `<address>:<bps>` pairs, e.g. "0xabc...:50". Addresses are EVM, except on a token swap to Tron, where a Tron address is also accepted. |
| refund_address | ["string","null"] | Refund address on the source chain. Optional here, required by create-order. |
{
"name": "get_quote",
"description": "Get a quote for a swap (onramp quotes are signed by the API). Pass the returned object\nunchanged to `create_order`.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"src_chain",
"dst_chain",
"src_token",
"dst_token",
"amount",
"recipient"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount to swap as an integer string in the source token's smallest unit"
},
"sender": {
"type": [
"string",
"null"
],
"description": "Address sending the funds, encoded for the source chain. On onramps it lets create-order\nreturn a funded PSBT, which may spend the address's ordinals, inscriptions or runes as\nplain sats: omit it for an address holding any."
},
"slippage": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Slippage tolerance in basis points (max 1000). Omit to let the gateway pick one per route."
},
"dst_chain": {
"type": "string",
"description": "Destination chain"
},
"dst_token": {
"type": "string",
"description": "Destination token address; \"0x0000000000000000000000000000000000000000\" for BTC/native"
},
"recipient": {
"type": "string",
"description": "Address receiving the funds, encoded for the destination chain"
},
"src_chain": {
"type": "string",
"description": "Source chain, e.g. \"bitcoin\", \"ethereum\", \"base\", \"bob\", \"tron\""
},
"src_token": {
"type": "string",
"description": "Source token address; \"0x0000000000000000000000000000000000000000\" for BTC/native"
},
"affiliates": {
"type": [
"string",
"null"
],
"description": "Affiliate fees as comma-separated `<address>:<bps>` pairs, e.g. \"0xabc...:50\". Addresses\nare EVM, except on a token swap to Tron, where a Tron address is also accepted."
},
"refund_address": {
"type": [
"string",
"null"
],
"description": "Refund address on the source chain. Optional here, required by create-order."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}List supported swap routes (source/destination chain and token pairs).
| Parameter | Type | Description |
|---|---|---|
| dst_chain | ["string","null"] | Only routes to this chain, e.g. "ethereum" |
| src_chain | ["string","null"] | Only routes from this chain, e.g. "bitcoin" |
{
"name": "get_routes",
"description": "List supported swap routes (source/destination chain and token pairs).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"dst_chain": {
"type": [
"string",
"null"
],
"description": "Only routes to this chain, e.g. \"ethereum\""
},
"src_chain": {
"type": [
"string",
"null"
],
"description": "Only routes from this chain, e.g. \"bitcoin\""
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Get a quote and create an order from it in one call, returning both as `quote` and `order`. Takes the `get_quote` arguments, with `refund_address` required. Creating an order screens its addresses, so use this only once the user wants to swap, and `get_quote` to check a price.
| Parameter | Type | Description |
|---|---|---|
| amount * | string | Amount to swap as an integer string in the source token's smallest unit |
| sender | ["string","null"] | Address sending the funds, encoded for the source chain. On onramps it lets create-order return a funded PSBT, which may spend the address's ordinals, inscriptions or runes as plain sats: omit it for an address holding any. |
| slippage | ["integer","null"] | Slippage tolerance in basis points (max 1000). Omit to let the gateway pick one per route. |
| dst_chain * | string | Destination chain |
| dst_token * | string | Destination token address; "0x0000000000000000000000000000000000000000" for BTC/native |
| recipient * | string | Address receiving the funds, encoded for the destination chain |
| src_chain * | string | Source chain, e.g. "bitcoin", "ethereum", "base", "bob", "tron" |
| src_token * | string | Source token address; "0x0000000000000000000000000000000000000000" for BTC/native |
| affiliates | ["string","null"] | Affiliate fees as comma-separated `<address>:<bps>` pairs, e.g. "0xabc...:50". Addresses are EVM, except on a token swap to Tron, where a Tron address is also accepted. |
| refund_address * | string | Refund address on the source chain |
{
"name": "quote_and_create",
"description": "Get a quote and create an order from it in one call, returning both as `quote` and\n`order`. Takes the `get_quote` arguments, with `refund_address` required. Creating an\norder screens its addresses, so use this only once the user wants to swap, and `get_quote`\nto check a price.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"src_chain",
"dst_chain",
"src_token",
"dst_token",
"amount",
"recipient",
"refund_address"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount to swap as an integer string in the source token's smallest unit"
},
"sender": {
"type": [
"string",
"null"
],
"description": "Address sending the funds, encoded for the source chain. On onramps it lets create-order\nreturn a funded PSBT, which may spend the address's ordinals, inscriptions or runes as\nplain sats: omit it for an address holding any."
},
"slippage": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Slippage tolerance in basis points (max 1000). Omit to let the gateway pick one per route."
},
"dst_chain": {
"type": "string",
"description": "Destination chain"
},
"dst_token": {
"type": "string",
"description": "Destination token address; \"0x0000000000000000000000000000000000000000\" for BTC/native"
},
"recipient": {
"type": "string",
"description": "Address receiving the funds, encoded for the destination chain"
},
"src_chain": {
"type": "string",
"description": "Source chain, e.g. \"bitcoin\", \"ethereum\", \"base\", \"bob\", \"tron\""
},
"src_token": {
"type": "string",
"description": "Source token address; \"0x0000000000000000000000000000000000000000\" for BTC/native"
},
"affiliates": {
"type": [
"string",
"null"
],
"description": "Affiliate fees as comma-separated `<address>:<bps>` pairs, e.g. \"0xabc...:50\". Addresses\nare EVM, except on a token swap to Tron, where a Tron address is also accepted."
},
"refund_address": {
"type": "string",
"description": "Refund address on the source chain"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}Broadcast an already-signed onramp Bitcoin transaction through the gateway. Optional: deposits are detected on-chain without it. The broadcast cannot be undone.
| Parameter | Type | Description |
|---|---|---|
| order_id * | string | Onramp order id returned by `create_order` |
| bitcoin_tx_hex * | string | Hex-encoded, fully signed Bitcoin transaction paying the order's deposit address |
{
"name": "register_tx",
"description": "Broadcast an already-signed onramp Bitcoin transaction through the gateway. Optional:\ndeposits are detected on-chain without it. The broadcast cannot be undone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id",
"bitcoin_tx_hex"
],
"properties": {
"order_id": {
"type": "string",
"description": "Onramp order id returned by `create_order`"
},
"bitcoin_tx_hex": {
"type": "string",
"description": "Hex-encoded, fully signed Bitcoin transaction paying the order's deposit address"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}Wait for an order's status to leave `inProgress`, reading it every 15 seconds for up to about 45. Returns the order as `get_order` does, as soon as its status changes or once the wait is over; call again while it is still `inProgress`. Under heavy load it may return after a single read. Reports progress when the client asks for it.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Order id, source Bitcoin txid, or source EVM tx hash |
{
"name": "wait_for_order",
"description": "Wait for an order's status to leave `inProgress`, reading it every 15 seconds for up to\nabout 45. Returns the order as `get_order` does, as soon as its status changes or once\nthe wait is over; call again while it is still `inProgress`. Under heavy load it may\nreturn after a single read. Reports progress when the client asks for it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Order id, source Bitcoin txid, or source EVM tx hash"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}BOB Gateway swaps BTC <-> tokens on EVM chains and Tron (onramp: BTC -> token, offramp: token -> BTC), plus token swaps between those chains. Flow: 1. `get_routes`, filtered by `src_chain`/`dst_chain` (the full list is large), to find a supported route. Native BTC/ETH is the zero address. 2. `get_quote` with the route's chains and tokens as `src_chain`, `src_token`, `dst_chain` and `dst_token`. Amounts are integers in the source token's smallest unit (sats, wei, ...). Pass `refund_address` (source-chain address): create-order refuses quotes without one. For onramps, `get_max_spendable` gives the most a BTC address can send after fees, counting every UTXO, including any holding ordinals, inscriptions or runes. 3. `create_order` with the full quote object returned by `get_quote`, unchanged. Quotes expire quickly; requote rather than reusing an old one. Once the user has decided to swap, `quote_and_create` does steps 2 and 3 in one call and returns both the quote and the order. 4. The user signs and broadcasts with their own wallet. This server never holds keys and must not be given any. - Onramp: pay the returned `address` exactly the quoted amount (with `op_return_data` when present), or sign the returned `psbt_hex`. Underpaying is not a way to pay: a short payment may be filled for less, or returned minus the network fee or kept when too small to return; a surplus goes back to the refund address minus the network fee, or is kept when too small to return. The payment must reach the mempool within 10 minutes of `create_order`, when the order expires; if the user cannot sign and broadcast by then, requote and create a new order. A late payment is not swapped, and may be returned minus the network fee or kept. The PSBT does not avoid ordinals, inscriptions or runes and may spend them as plain sats, so an address holding any must not be the `sender`. Deposits are detected on-chain automatically; `register_tx` is only a convenience to broadcast an already-signed transaction when the client has no Bitcoin connectivity. - Offramp / token swap: send the returned `tx` from the sender address. When the source is an ERC20/TRC20 token, that transaction pulls it from the sender, so first make sure the sender's allowance for the returned `tx.to` covers the amount, and send an `approve` for it if not; otherwise the transaction reverts. 5. Track the order with `wait_for_order` and the order id (or the source txid): it returns as soon as the status leaves `inProgress`, or after about 45 seconds with the order as it stands, so call it again while `inProgress`. Onramps wait for Bitcoin confirmations; `estimatedTimeInSecs` gives the expected time left, and `get_order` reads the order once. `status` has a single key: `inProgress`, then `success` or `refunded`. A status paid in BTC is reported before its transaction confirms: an offramp's `success` once the payout reaches the mempool, an onramp's `refunded` in BTC just before the refund is sent. In the rare case that transaction never lands, the order returns to `inProgress` or turns `failed`, so call it final once the transaction confirms. `failed` means the swap did not complete; it can still become `refunded` or `success`, so tell the user and check back later instead of waiting. An onramp never paid keeps reporting `inProgress` after its 10 minutes, so stop waiting on it. One paid late may be returned at a check between 1 hour and 7 days after it expired, and then reports `refunded`, so check back on it hours later rather than waiting. An offramp the solver does not fill also stays `inProgress`; only the Gateway operator can refund its escrow, with the registry's `refundOrder` once the refund delay has passed, so never ask the user to sign that call; direct them to BOB support instead. `get_orders` lists a user's past orders. Before asking a user to sig
Names, descriptions and schemas were written by the server and are shown as data.