Abstract RPC commands wallet_propose and wallet_seed into a common routine.