Compare selling Bitcoin with borrowing against it
borrow_vs_sellIllustrates the liquidity from selling an amount of Bitcoin after tax, against borrowing on it as collateral, and what each leaves at a later price. Deterministic; the same model as the live Borrowing Against Bitcoin explorer, in USD. mode btc_to_btc borrows BTC at ltvPct (default 95%); the lender keeps a 5% fee from the collateral, so the rest is retained; fiat_loan borrows USD at ltvPct (default 50%) with simple interest (default 8% a year for 1 year), and returns a liquidation price where the loan reaches 80% of the collateral's value. Tax is a flat rate on the whole sale value, from taxRatePct or the region's default (us 20%, au 45%, illustrative only). horizon sets the later price as a multiple of spot: flat (x1), up50 (x1.5), up100 (x2), stress30 (x0.7), stress50 (x0.5); never a forecast. Stress rows at 30% and 50% below spot are always included. A negative or non-finite termYears is rejected. Other out-of-range values are clamped as the page clamps them, and the result echoes what was used. btcPrice is a spot price in USD supplied by the caller (btcPriceUsd is accepted as an alias). Without it the server's cached USD market reference is used, labelled live, or a fixed illustrative price of 100000 USD when that reference is unavailable. The illustrative price is not a market quotation. It names no lender, does not assess suitability or eligibility, and recommends neither path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "borrow_vs_sell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| ltvPct | No | ||
| horizon | No | ||
| btcPrice | No | ||
| btcAmount | No | ||
| taxRegion | No | ||
| termYears | No | ||
| taxRatePct | No | ||
| btcPriceUsd | No | Alias of btcPrice, in USD. | |
| interestRatePct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| sell | Yes | ||
| borrow | Yes | ||
| inputs | Yes | ||
| stress | Yes | ||
| summary | Yes | ||
| nextStep | Yes | ||
| disclaimer | Yes | ||
| assumptions | Yes | ||
| referencePrice | Yes | ||
| horizonPriceUsd | Yes |