flocore-node/docs/services/fee.md
2018-01-15 16:43:07 -08:00

648 B

Fee Service

The fee service is a requirement of the insight-api service (not a flocore-node built-in service). Its primary purpose is to query a florincoin full node for the most up-to-date miner fees for transactions. A florincoin 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