82trust / 100

Bitcoin Fee Forecast

by finanz.halowerk.com in Weather & location

x402 APIPassing, checked 2 h ago

Returns the current fee rates for the usual confirmation targets together with the state of the mempool behind them, and then does the part that is usually missing: it estimates the virtual size of the transaction you describe and computes the resulting total fee in satoshis for each target.

POST https://finanz.halowerk.com/v1/bitcoin-fee-forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
108 ms typical, 108 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://finanz.halowerk.com/v1/bitcoin-fee-forecast" \
  -H "content-type: application/json" \
  -d '{"input_type":"p2wpkh","inputs":3,"outputs":2}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffinanz.halowerk.com%2Fv1%2Fbitcoin-fee-forecast
const res = await pay("https://finanz.halowerk.com/v1/bitcoin-fee-forecast", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input_type":"p2wpkh","inputs":3,"outputs":2}),
});
console.log(await res.json());

Example input

{
  "input_type": "p2wpkh",
  "inputs": 3,
  "outputs": 2
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402108 ms$0.004
7 h agoPassed402137 ms$0.004