Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 640 Bytes

fee.md

File metadata and controls

22 lines (18 loc) · 640 Bytes

Fee Service

The fee service is a requirement of the insight-api service (not a vertcore-node built-in service). Its primary purpose is to query a bitcoin full node for the most up-to-date miner fees for transactions. A bitcoin full node such as BTC1 or bcoin with an available RPC interface is required.

Service Configuration

"fee": {
  "rpc": {
    "user": "user",
      "pass": "pass",
      "host": "localhost",
      "protocol": "http",
      "port": 8332
  }
}

Usage Example

curl http://localhost:3001/insight-api/estimateFee