Fukuii Insomnia Workspace Guide¶
This guide explains how to use the Fukuii Insomnia workspace to test and interact with the Fukuii JSON-RPC API.
Overview¶
The insomnia_workspace.json file contains a complete collection of all 77 JSON-RPC endpoints implemented in Fukuii, organized into 11 namespaces for easy navigation and testing.
Installation¶
Prerequisites¶
- Insomnia API client (version 2023.5.0 or later recommended)
- Running Fukuii node (see Getting Started)
Import Steps¶
- Download the workspace file
-
Located at:
insomnia_workspace.jsonin the repository root -
Import into Insomnia
- Open Insomnia
- Click on "Application" → "Preferences" → "Data"
- Click "Import Data" → "From File"
- Select
insomnia_workspace.json -
Click "Scan" and then "Import"
-
Configure environment
- Select the "Development" environment from the environment dropdown
- Update the variables as needed:
node_url: Your Fukuii node RPC endpoint (default:http://127.0.0.1:8546)address: A test Ethereum addressrecipient: A recipient address for test transactionscontract: A contract address for testingtx_hash: A transaction hash for queriesfilter_id: A filter ID for filter operations
Workspace Structure¶
The workspace is organized into the following folders:
1. ETH Namespace (46 endpoints)¶
Standard Ethereum JSON-RPC methods organized into subfolders:
Blocks (9 endpoints)¶
eth_blockNumbereth_getBlockByHasheth_getBlockByNumbereth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getUncleByBlockHashAndIndexeth_getUncleByBlockNumberAndIndexeth_getUncleCountByBlockHasheth_getUncleCountByBlockNumber
Transactions (12 endpoints)¶
eth_sendTransactioneth_sendRawTransactioneth_getTransactionByHasheth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionReceipteth_getTransactionCounteth_getRawTransactionByHash(ETC extension)eth_getRawTransactionByBlockHashAndIndex(ETC extension)eth_getRawTransactionByBlockNumberAndIndex(ETC extension)eth_pendingTransactionseth_sign
Accounts & State (8 endpoints)¶
eth_accountseth_getBalanceeth_getCodeeth_getStorageAteth_getStorageRoot(ETC extension)eth_calleth_estimateGaseth_getProof(EIP-1186)
Filters & Logs (7 endpoints)¶
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_uninstallFiltereth_getFilterChangeseth_getFilterLogseth_getLogs
Mining (6 endpoints)¶
eth_miningeth_hashrateeth_getWorketh_submitWorketh_submitHashrateeth_coinbase
Network Info (4 endpoints)¶
eth_protocolVersioneth_chainIdeth_syncingeth_gasPrice
2. WEB3 Namespace (2 endpoints)¶
web3_clientVersionweb3_sha3
3. NET Namespace (3 endpoints)¶
net_versionnet_listeningnet_peerCount
4. PERSONAL Namespace (8 endpoints)¶
Account management (Geth-compatible):
- personal_newAccount
- personal_importRawKey
- personal_listAccounts
- personal_unlockAccount
- personal_lockAccount
- personal_sendTransaction
- personal_sign
- personal_ecRecover
5. DEBUG Namespace (3 endpoints)¶
Debug and diagnostics:
- debug_listPeersInfo
- debug_accountRange
- debug_storageRangeAt
6. QA Namespace (3 endpoints)¶
Quality assurance and testing:
- qa_mineBlocks
- qa_generateCheckpoint
- qa_getFederationMembersInfo
7. CHECKPOINTING Namespace (2 endpoints)¶
ETC-specific checkpointing:
- checkpointing_getLatestBlock
- checkpointing_pushCheckpoint
8. FUKUII Namespace (1 endpoint)¶
Fukuii-specific methods:
- fukuii_getAccountTransactions
9. TEST Namespace (7 endpoints)¶
Test harness methods:
- test_setChainParams
- test_mineBlocks
- test_modifyTimestamp
- test_rewindToBlock
- test_importRawBlock
- test_getLogHash
- miner_setEtherbase
10. IELE Namespace (2 endpoints)¶
IELE VM support (experimental):
- iele_call
- iele_sendTransaction
11. RPC Namespace (1 endpoint)¶
Meta information:
- rpc_modules
Usage Tips¶
Environment Variables¶
The workspace uses Insomnia's environment variables system for flexibility. Use the {{ variable }} syntax in requests:
Common Workflows¶
1. Check Node Status¶
1. net_version - Get network ID
2. eth_syncing - Check sync status
3. eth_blockNumber - Get latest block
4. net_peerCount - Check peer connections
2. Query Account¶
1. eth_getBalance - Check balance
2. eth_getTransactionCount - Get nonce
3. eth_getCode - Check if contract
4. eth_getStorageAt - Read storage
3. Send Transaction¶
1. personal_unlockAccount - Unlock account
2. eth_getTransactionCount - Get nonce
3. eth_gasPrice - Get current gas price
4. eth_sendTransaction - Send transaction
5. eth_getTransactionReceipt - Check receipt
4. Query Blocks¶
1. eth_blockNumber - Get latest block number
2. eth_getBlockByNumber - Get block details
3. eth_getBlockTransactionCountByNumber - Count transactions
5. Filter Events¶
1. eth_newFilter - Create filter
2. eth_getFilterChanges - Poll for changes
3. eth_getFilterLogs - Get all logs
4. eth_uninstallFilter - Clean up
Testing Extensions¶
ETC Extensions¶
- Use
eth_getRawTransaction*methods to get raw transaction data - Use
checkpointing_*methods for checkpoint operations - Use
eth_getStorageRootfor storage root queries
Development Tools¶
- Use
qa_mineBlocksto mine blocks in development - Use
test_*methods for advanced testing scenarios - Use
debug_*methods for diagnostics
Security Notes¶
⚠️ Important Security Considerations:
- Never use real private keys or passphrases in Insomnia
- Use test accounts only
-
Store sensitive data in environment variables, not in requests
-
Disable sensitive APIs in production
personal_*methods should be disabled in production-
test_*andqa_*methods are for development only -
Use secure connections
- Use HTTPS/WSS in production
-
Never expose RPC endpoints to the public internet without proper authentication
-
Environment isolation
- Create separate environments for testnet and mainnet
- Use different credentials for each environment
Troubleshooting¶
Connection Errors¶
Solution: Ensure Fukuii is running with RPC enabled:Method Not Found¶
Solution: Check that the API is enabled in your Fukuii configuration:Invalid Parameters¶
Solution: - Check parameter types (hex strings should start with "0x") - Verify required parameters are present - Check the request format matches the specificationAccount Locked¶
Solution: Usepersonal_unlockAccount before sending transactions, or use personal_sendTransaction which includes the passphrase.
Additional Resources¶
- Fukuii RPC API Analysis - Detailed comparison with Ethereum execution-apis
- Ethereum JSON-RPC Specification
- Fukuii Documentation
- Getting Started Guide
Version History¶
| Version | Date | Description |
|---|---|---|
| 2.0 | 2025-11-21 | Complete rewrite with all 78 endpoints, organized namespaces |
| 1.0 | 2021-02-01 | Initial workspace with basic endpoints |
Maintained by: Chippr Robotics LLC
Project: Fukuii Ethereum Classic Client
Repository: https://github.com/chippr-robotics/fukuii