walletd) for all wallet and account management tasks. Both servers communicate over HTTP using JSON, and neither requires authentication when bound to localhost — you control access through bind address and flag configuration rather than API keys or tokens.
API Servers
Daemon RPC
HTTP and JSON-RPC server built into the
fuegod daemon.Default base URL: http://127.0.0.1:18180Used for: node status, block queries, transaction submission, peer info, and mining templates.Wallet Service RPC
JSON-RPC 2.0 server provided by
walletd (PaymentGateService).Default base URL: http://127.0.0.1:8070Used for: address management, balance queries, sending transactions, deposits, and wallet state.Request Format
The Daemon RPC serves two request styles:- Direct HTTP — plain
GETorPOSTto named paths (e.g./getinfo,/getheight). - JSON-RPC 2.0 —
POSTto/json_rpcwith a standard JSON-RPC envelope.
/json_rpc.
A JSON-RPC 2.0 request looks like this:
Authentication and Security
By default, both servers bind to127.0.0.1 and require no credentials. To expose them on a network interface, use --rpc-bind-ip on the daemon. Pass --restricted-rpc to disable mutating methods (mining start/stop, daemon shutdown) when exposing the daemon publicly.
Daemon JSON-RPC Methods (/json_rpc)
These methods are called via POST http://127.0.0.1:18180/json_rpc:
| Method | Description |
|---|---|
getblockcount | Returns the current blockchain height |
getblockhash | Returns the block hash at a given height |
getblocktemplate | Returns a block template for mining |
getcurrencyid | Returns the currency ID blob |
submitblock | Submits a mined block blob |
getlastblockheader | Returns the header of the most recent block |
getblockheaderbyhash | Returns a block header by its hash |
getblockheaderbyheight | Returns a block header by its height |
Daemon HTTP Endpoints
These endpoints are called viaGET or POST directly:
| Endpoint | Method | Description |
|---|---|---|
/getinfo | GET | Node status, height, difficulty, peer counts |
/getheight | GET | Current blockchain height |
/getpeers | GET | Connected peer list |
/getfeeaddress | GET | Node operator fee address |
/gettransactions | POST | Fetch transactions by hash |
/sendrawtransaction | POST | Broadcast a signed raw transaction |
/json_rpc | POST | JSON-RPC 2.0 gateway for all JSON-RPC methods |
Wallet Service JSON-RPC Methods (/json_rpc)
These methods are called via POST http://127.0.0.1:8070/json_rpc:
| Method | Description |
|---|---|
getStatus | Wallet sync status and counts |
createAddress | Generate a new address in the wallet |
createAddressList | Batch-import addresses from spend keys |
getAddresses | List all addresses in the wallet |
deleteAddress | Remove an address from the wallet |
getBalance | Available and locked balances |
getBlockHashes | Block hashes starting from an index |
getTransactionHashes | Transaction hashes grouped by block |
getTransactions | Full transaction details grouped by block |
getTransaction | Single transaction by hash |
sendTransaction | Construct and broadcast a transaction |
createDeposit | Lock XFG for a time deposit |
sendDeposit | Create a deposit to an external address |
withdrawDeposit | Unlock a matured deposit |
getDeposit | Query deposit details by ID |
createIntegrated | Combine address and payment ID |
splitIntegrated | Decode an integrated address |
getViewKey | Return the wallet view secret key |
getSpendKeys | Return spend keys for an address |
exportWallet | Export wallet to a file |
save | Flush wallet state to disk |
reset | Rescan the blockchain from a given height |