INTcoin exposes 110+ JSON-RPC commands. This is a quick reference for the most commonly used ones. Full documentation is in the wiki.
Use intcoin-cli help for the full list, or intcoin-cli help <command> for details on a specific command.
Blockchain
# Current chain state
intcoin-cli getblockchaininfo
# Chain height
intcoin-cli getblockcount
# Get block hash at height
intcoin-cli getblockhash 100
# Get block details
intcoin-cli getblock <hash>
# Get current difficulty
intcoin-cli getdifficulty
# Check a specific UTXO
intcoin-cli gettxout <txid> <vout>
Wallet
# Create a new wallet
intcoin-cli createwallet "mywallet"
# Get balance
intcoin-cli getbalance
# Detailed balance breakdown
intcoin-cli getbalances
# Generate new receiving address
intcoin-cli getnewaddress
# Generate with a label
intcoin-cli getnewaddress "savings"
# Send coins
intcoin-cli sendtoaddress int1q... 100.0
# List recent transactions
intcoin-cli listtransactions
# List UTXOs
intcoin-cli listunspent
# Wallet info
intcoin-cli getwalletinfo
Transactions
# Get raw transaction
intcoin-cli getrawtransaction <txid> true
# Decode raw transaction hex
intcoin-cli decoderawtransaction <hex>
# Send raw transaction
intcoin-cli sendrawtransaction <hex>
# Test if a transaction would be accepted
intcoin-cli testmempoolaccept '["<hex>"]'
# Bump fee on unconfirmed tx (RBF)
intcoin-cli bumpfee <txid>
Network
# Network overview
intcoin-cli getnetworkinfo
# Connected peers
intcoin-cli getpeerinfo
# Connection count
intcoin-cli getconnectioncount
# Add a peer
intcoin-cli addnode "192.168.1.100:2210" "add"
# Ban a peer
intcoin-cli setban "1.2.3.4" "add" 86400
# Network hash rate
intcoin-cli getnetworkhashps
Mining
# Mining stats
intcoin-cli getmininginfo
# Get block template (for external miners)
intcoin-cli getblocktemplate
# Submit a solved block
intcoin-cli submitblock <hex>
# Fee estimation
intcoin-cli estimatesmartfee 6
Mempool
# Mempool stats
intcoin-cli getmempoolinfo
# List mempool transactions
intcoin-cli getrawmempool
# Get mempool entry details
intcoin-cli getmempoolentry <txid>
# Fee estimation for N-block target
intcoin-cli estimatesmartfee <blocks>
PST (Partially Signed Transactions)
# Create unsigned PST
intcoin-cli createpst '[{"txid":"...","vout":0}]' '{"int1q...":10.0}'
# Fund PST from wallet
intcoin-cli walletcreatedfundedpst '[]' '{"int1q...":10.0}'
# Sign PST with wallet keys
intcoin-cli walletprocesspst <base64>
# Analyze what's missing
intcoin-cli analyzepst <base64>
# Finalize and extract
intcoin-cli finalizepst <base64>
# Broadcast
intcoin-cli sendpst <base64>
Message Signing
# Sign a message with your address
intcoin-cli signmessage "int1q..." "Hello, world!"
# Verify (works without wallet — signature is self-contained)
intcoin-cli verifymessage "int1q..." "<signature>" "Hello, world!"
Control
# Stop the daemon
intcoin-cli stop
# Uptime
intcoin-cli uptime
# Set logging categories
intcoin-cli logging '["net","mempool"]'
# Memory usage
intcoin-cli getmemoryinfo
Remote Usage
Connect to a remote node:
intcoin-cli -rpcconnect=192.168.1.100 -rpcport=2211 -rpcuser=intcoinrpc -rpcpassword=<pass> getblockchaininfo
Testnet:
intcoin-cli -testnet getblockchaininfo